According the man page, -e expects a pattern following it as an argument
to the option. Therefore, -eF is incorrect as it doesn't follow the syntax
specification. And there is no easy way to make sense out of a syntax that
would allow -eF, since multiple -e options are allowed.
Cheers,
TAA
-
Jari Aalto <[EMAIL PROTECTED]> writes:
> Consider this:
>
> $ gzip -dc edb_1.21-13.diff.gz | grep -eF '--- '
This is the same as "... | grep -e F '--- '
> It should be possible to combine short options together, including -e.
"-e" takes an argument, that must follow immediately (either dire
Package: grep
Version: 2.5.1.ds2-6
Severity: normal
Consider this:
$ gzip -dc edb_1.21-13.diff.gz | grep -eF '--- '
grep: unrecognized option `--- '
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
$ gzip -dc edb_1.21-13.diff.gz | grep -F -e
3 matches
Mail list logo