← Back to post

Edit history

Most recent

Yes, at a minimum, I feel like every man page would be well served by a single example near the top that is something like

Common Usage:

grep [what] [where]

e.g.

grep “search string” \*.txt

Instead it’s “grep [-the entire alphabet, twice] [-12 other options you probably won’t use] [cryptic arguments]”

The description is helpful, at least.

Edited

Yes, at a minimum, I feel like every man page would be well served by a single example near the top that is something like

This is the most common way to run this tool:

grep [what] [where]

e.g.

grep search \*.txt

Instead it’s “grep [-the entire alphabet, twice] [-12 other options you probably won’t use] [cryptic arguments]”

The description is helpful, at least.

Original

Yes, every man page would be well served by a single example near the top that is something like

This is the most common way to run this tool:

grep [what] [where]

e.g.

grep search \*.txt

Instead it’s "grep [-the entire alphabet, twice] [-12 other options you probably won’t use] [cryptic arguments]