I'm seeking the man page info for a switch for a given command.
I tried for example man sort | grep -A2 "-n,"
.
I expected something like:
-n, --numeric-sort
compare according to string numerical value
as output and instead I got
Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information.
grep -A2 -- "-n,"
which is tellinggrep
there is no option later – αғsнιη Oct 16 '17 at 14:55man grep
– Elder Geek Oct 16 '17 at 15:08