3 ms·
A trick I've found useful when searching large man pages for a flag --foo is to search for `␣␣--foo` (note the two leading spaces). In my experience this always
by fellerts 3y ago
A trick I've found useful when searching large man pages for a flag --foo is to search for `␣␣--foo` (note the two leading spaces). In my experience this always hits the line where the flag is defined instead of irrelevant mentions of that flag, and it's faster than paging through the manual by hand.
- bravetraveler 3y agoAh, good call - I've tried a variation of that with one space and been left disappointed; two works a treat!
- dicytea 3y agoOr for something more flexible: ^ *--foo. But unfortunately this kind of pattern will be defeated by -f, --foo indexes.
- deleted 3y ago[deleted]