Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grep: make space after -e or -f optional (#816)
* BSD and GNU versions do not require a space between -e/-f and the option argument * This version did not raise an error, but option arguments without a space resulted in incorrect behaviour * Remove -e and -f from getopts() option string because they are handled earlier * test1: perl grep -e0 -e 1 ar ---> patterns 0 and 1 in file ar * test2: grep -fwordlist.txt.old -f pat1 xargs ---> patterns from file wordlist.txt.old and pat1, searching against file xargs
- Loading branch information