diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-05-03 16:32:03 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-05-03 16:32:03 +0000 |
commit | 0c0e3cb83dd7435205d693153abbb85a8f1121a4 (patch) | |
tree | 70d65964c33d903ebf2ae228f8e2a33533e174ab /usr.bin | |
parent | 4b86ef0e32f3a82ac99ad0ac7fe06488ff96173c (diff) | |
download | FreeBSD-src-0c0e3cb83dd7435205d693153abbb85a8f1121a4.zip FreeBSD-src-0c0e3cb83dd7435205d693153abbb85a8f1121a4.tar.gz |
Rename `lflag' to `Lflag' to match the option's case.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xargs/xargs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c index 6a81417..ba61e42 100644 --- a/usr.bin/xargs/xargs.c +++ b/usr.bin/xargs/xargs.c @@ -76,7 +76,7 @@ int main(int argc, char **argv) { long arg_max; - int ch, cnt, count, Iflag, indouble, insingle, Jflag, jfound, lflag; + int ch, cnt, count, Iflag, indouble, insingle, Jflag, jfound, Lflag; int nargs, nflag, nline, Rflag, wasquoted, foundeof, xflag; size_t linelen; const char *eofstr; @@ -86,7 +86,7 @@ main(int argc, char **argv) ep = environ; inpline = replstr = NULL; eofstr = ""; - cnt = count = Iflag = Jflag = jfound = lflag = nflag = Rflag = xflag = + cnt = count = Iflag = Jflag = jfound = Lflag = nflag = Rflag = xflag = wasquoted = 0; /* @@ -117,7 +117,7 @@ main(int argc, char **argv) break; case 'I': Iflag = 1; - lflag = 1; + Lflag = 1; Rflag = 5; replstr = optarg; break; @@ -126,7 +126,7 @@ main(int argc, char **argv) replstr = optarg; break; case 'L': - lflag = atoi(optarg); + Lflag = atoi(optarg); break; case 'n': nflag = 1; @@ -163,7 +163,7 @@ main(int argc, char **argv) if (xflag && !nflag) usage(); - if (Iflag || lflag) + if (Iflag || Lflag) xflag = 1; if (replstr != NULL && *replstr == '\0') errx(1, "replstr may not be empty"); @@ -282,7 +282,7 @@ arg2: * run the command. If xflag and max'd out on buffer * but not on args, object. */ - if (xp == exp || p > ebp || ch == EOF || (lflag <= count && xflag) || foundeof) { + if (xp == exp || p > ebp || ch == EOF || (Lflag <= count && xflag) || foundeof) { if (xflag && xp != exp && p > ebp) errx(1, "insufficient space for arguments"); if (jfound) { |