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

On a BSD, try ‘man -Otag=l ls’ or ‘:tl’ (from less) for e.g. ls -l. This also works for larger man pages: ‘man -Otag=OCRNL termios’. More specifically, this requires the mandoc man implementation, which is also available on Linux — it’s what I prefer for all my machines.

tl;dr: it’s groff(1), not the -man and -mdoc formats, which is primitive (in this sense).



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

Search: