diff options
author | Rob Landley <rob@landley.net> | 2019-04-18 14:52:56 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-18 14:52:56 -0500 |
commit | 5873cd68b1c65c4973aa3badf50054a1b2fd2584 (patch) | |
tree | a0f7775a1dce8be905a4a659f1e74b849afb803f /toys | |
parent | 362a6177acbaf38c2eac793a88b233cfeebcc5a1 (diff) | |
download | toybox-5873cd68b1c65c4973aa3badf50054a1b2fd2584.tar.gz |
Ignore --line-buffered argument for script compatibility (it's the default).
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/grep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/grep.c b/toys/posix/grep.c index 9239614f..c88d4c65 100644 --- a/toys/posix/grep.c +++ b/toys/posix/grep.c @@ -10,7 +10,7 @@ * echo hello | grep -f </dev/null * -USE_GREP(NEWTOY(grep, "(color):;S(exclude)*M(include)*ZzEFHIab(byte-offset)h(no-filename)ino(only-matching)rsvwcl(files-with-matches)q(quiet)(silent)e*f*C#B#A#m#x[!wx][!EFw]", TOYFLAG_BIN|TOYFLAG_ARGFAIL(2))) +USE_GREP(NEWTOY(grep, "(line-buffered)(color):;S(exclude)*M(include)*ZzEFHIab(byte-offset)h(no-filename)ino(only-matching)rsvwcl(files-with-matches)q(quiet)(silent)e*f*C#B#A#m#x[!wx][!EFw]", TOYFLAG_BIN|TOYFLAG_ARGFAIL(2))) USE_EGREP(OLDTOY(egrep, grep, TOYFLAG_BIN|TOYFLAG_ARGFAIL(2))) USE_FGREP(OLDTOY(fgrep, grep, TOYFLAG_BIN|TOYFLAG_ARGFAIL(2))) |