Searched refs:replstr (Results 1 - 2 of 2) sorted by relevance
/netbsd-6-1-5-RELEASE/usr.bin/xargs/ |
H A D | strnsubst.c | 29 * replstr as many times as can be done before the constructed string is 33 * If replstr is NULL, then that internally is changed to a nil-string, so 38 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) argument 61 if (replstr == NULL) 62 replstr = ""; 64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { 73 if ((strlen(s2) + strlen(s1) + strlen(replstr) - 79 (void)strcat(s2, replstr);
|
H A D | xargs.c | 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable 96 inpline = replstr = NULL; 146 replstr = optarg; 151 replstr = optarg; 215 if (replstr != NULL && *replstr == '\0') 216 errx(1, "replstr may not be empty"); 236 if (Jflag && strcmp(*argv, replstr) == 0) { 469 * replstr, call strnsubst(), else just save the string. 475 if (repls && strstr(*tmp, replstr) ! [all...] |
Completed in 80 milliseconds