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

I never knew about tldr. That tip alone is phenomenal. I'm embarrassed to say I've been doing this 20 years and never seen it. Trying to pull out several common usage examples from man pages has always been my difficulty.


Try this:

man man | awk '/^[A-Z]+/ { begin = 0 } /^EXAMPLES|^NAME/ { begin = 1 } (begin == 1) { print }'




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

Search: