summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-05-03 16:32:03 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-05-03 16:32:03 +0000
commit4f49da74dbe4fc2e57da9fe7f8cb84d77b4e765f (patch)
tree70d65964c33d903ebf2ae228f8e2a33533e174ab
parentd95ec55335a7acb4eece11c336e6d5faa78977d0 (diff)
Notes
-rw-r--r--usr.bin/xargs/xargs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c
index 6a814172486b..ba61e425d486 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) {