Searched refs:replstr (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.1-release/usr.bin/xargs/ |
H A D | strnsubst.c | 23 * replstr as many times as can be done before the constructed string is 27 * If replstr is NULL, then that internally is changed to a nil-string, so 32 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) argument 55 if (replstr == NULL) 56 replstr = ""; 58 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { 67 if ((strlen(s2) + strlen(s1) + strlen(replstr) - 73 strcat(s2, replstr);
|
H A D | xargs.c | 86 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable 105 inpline = replstr = NULL; 143 replstr = optarg; 148 replstr = optarg; 212 if (replstr != NULL && *replstr == '\0') 213 errx(1, "replstr may not be empty"); 235 if (Jflag && strcmp(*argv, replstr) == 0) { 480 * replstr, call strnsubst(), else just save the string. 486 if (repls && strstr(*tmp, replstr) ! [all...] |
Completed in 46 milliseconds