Actions
Bug #3759
closedegrep(1) and fgrep(1) -s flag does not hide -c output
Start date:
2013-05-03
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
The legacy option -s in egrep(1) and fgrep(1) (which documented to behave the same as POSIX option -q instead of the inverse) should prevent all output on stdout (i.e., non-error messages) even if -c is used. This is not currently the case:
[trisk@monolith]% /usr/bin/fgrep -cs trisk /etc/passwd
1
The -q option should also be supported as an alias.
Updated by Rich Lowe over 9 years ago
- Status changed from New to Resolved
- Tags deleted (
needs-triage)
Resolved in 41599e9
Actions