Hacker News new | past | comments | ask | show | jobs | submit login

Is there any app that combines all these alternative man-pages?



I would just make it into one function, and call each one every time, with headings seperated by figlet.

It would make a straightforward gui app for rofi or zenity or yad etc, with only one input and just a list of output.


If you want, you can alias man to call `tldr $1` or `curl -s "cht.sh/tar" 2>&1` first, then call man, then pipe the output into `cat` and again into `less`, like so:

  man() {
      (tldr $1 ; man $1) | cat | less
  }
Edit: rewrote without the `&&` conditional




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

Search: