by doggonematte · 14y ago · 0 comments
curl -s http://www.gnu.org/software/coreutils/manual/coreutils.html
| sed '/<li>.*-inv.*p>:.*[^>]<.a>/!d;s/.*#//;s/-inv.*:/:/;s/<.a>//'
|sort
"A long, long time ago when I was <em>mastering</em> Linux..." [emphasis mine]I am an amateur, and still learning, so what do I know? But I fail to see any evidence of "mastery" here.
And where's the cheat sheet for the binutils?
Are they not important?
Edit: Added more indentation to protect Kleene stars.
Also you could pipe to `column -t -s:` to align nicely
Also you can download the 57K index rather than the 1.3M manual to get the command list.
curl -s http://www.gnu.org/software/coreutils/manual/html_node/index.html |
sed '/<li>.*-inv.*p>:.*[^>]<.a>/!d;s/.*#//;s/-inv.*:/:/;s/<.a>//' |
sort |
column -t -s: