Home
last modified time | relevance | path

Searched refs:replstr (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/xargs/
H A Dstrnsubst.c33 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) in strnsubst() argument
57 if (replstr == NULL) in strnsubst()
58 replstr = ""; in strnsubst()
60 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { in strnsubst()
69 if ((strlen(s2) + strlen(s1) + strlen(replstr) - in strnsubst()
76 strcat(s2, replstr); in strnsubst()
H A Dxargs.c78 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable
115 inpline = replstr = NULL; in main()
155 replstr = optarg; in main()
160 replstr = optarg; in main()
236 if (replstr != NULL && *replstr == '\0') in main()
237 errx(1, "replstr may not be empty"); in main()
259 if (Jflag && strcmp(*argv, replstr) == 0) { in main()
508 * replstr, call strnsubst(), else just save the string. in prerun()
514 if (repls && strstr(*tmp, replstr) ! in prerun()
[all...]