Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's a handy shell script to show only the options from a command's man page:

   showoptions() {
      man -s 1 "$*" |col -bx |awk '/^[ ]*-/,/^$/' |less
   }
(Won't work for every man page, but most of them where options start with a dash.)

Enjoy!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: