Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created October 29, 2014 19:45
Show Gist options
  • Save garybernhardt/e4910b80e8ccda9f3538 to your computer and use it in GitHub Desktop.
Save garybernhardt/e4910b80e8ccda9f3538 to your computer and use it in GitHub Desktop.
find $(manpath | tr ':' '\n') -iname '*.1' | xargs cat | (LC_CTYPE=C tr -C '[:alnum:]-_' '\n') | egrep '^--[\-_[:alnum:]]+$' | sort | uniq -c | sort -n
@garybernhardt
Copy link
Author

triple click selects full lines of text, which is useful for situations like this (although I don't know whether various Linux dinguses will do the right thing there; probably not)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment