I would like to know if there are easier ways to navigate to specific sections of manual pages such as Examples or Options
I currently resort to piping man
to regex find and retrieve statements.
For example to find the entry for the -f
option in the grep
manual I use this statement:
man grep | grep -A 2 -e '-f'
Is there a better way to use man? I've been able to find scant info on the -S
option but perhaps I'm going down the wrong rabbit hole.