Lines Matching refs:suffix
26 * namebase pathname [suffix]
34 "[+NAME?basename - strip directory and suffix from filenames]"
37 "\astring\a has a suffix that ends in \asuffix\a, it is removed as "
51 "[s:suffix?All operands are treated as \astring\a and each modified "
53 "separate line on the standard output.]:[suffix]"
55 "\n string [suffix]\n"
69 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix)
89 /* check for trailing suffix */
90 if(suffix && (n=strlen(suffix)) && n<(last-first))
92 if(memcmp(last-n,suffix,n)==0)
105 char* suffix = 0;
118 suffix = opt_info.arg;
137 namebase(sfstdout, string, suffix);