Bug#435411: grep: Option -e cannot be combined with other options

2007-08-04 Thread Tony Abou-Assaleh
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 -

Bug#435411: grep: Option -e cannot be combined with other options

2007-07-31 Thread Andreas Schwab
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

Bug#435411: grep: Option -e cannot be combined with other options

2007-07-31 Thread Jari Aalto
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