1) Great project! Is there a simple way to install it without having to install Node.js or Haskell or Ruby? (I don't want to install Node.js just for it) Is there a apt-get install tldr solution on recent Debian / Ubuntu distros without installing another additional package manager ? I mean even the bash solution: bpkg ... does not work out of the box. (bpkg or brew or npm aren't installed by default) 2) Is TLDR link…
TLDR pages: Simplified, community-driven man pages
161–170 of 179 posts
Re: TLDR pages: Simplified, community-driven man pages
#162Earlier quoted context omitted.
Something I like about tldr is that tldr pages are short enough to not necessitate using a pager, so you can print the tldr of a command and read it while typing the command in the same terminal emulator. I know you can disable the pager for man, but the typical manpage is going to be fairly long anyway so the pager is generally desired. I suppose you could pipe man through head to just print out the first section, b…
But they are not system specific... I don't need `tldr opkg` on my system. In fact, having pages I don't need just causes confusion. Moreover, commands can have system specific names.
Also my tdlr-pages checkout is only 19MB, so I'm not too concerned about bloat. I'm not really sure how having tldr's for irrelevant commands would be a problem, maybe with some shell autocompletions? Maybe there is a way you could prune the tldr-pages checkout?
I guess all I can really say is tldr works really well for me and I like it a lot. Nothing is perfect, but tldr is quite nice despite some warts.
Re: TLDR pages: Simplified, community-driven man pages
#163cheat() { curl "http://cheat.sh/$1" } man2txt() { man "$1" | col -bx } manflags(){ man "$1" | awk '{$1=$1;print}' | grep "^\-" } #man pages just the flags more or less, captures some extra ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/"$1".1.html" } # ubuntu web manpages note bionic, update with do release up ubumanflags() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/$1…
ubuman() {
w3m -dump "https://manpages.ubuntu.com/manpages/$(lsb_release -cs)/en/man1/"$1".1.html"
}Re: TLDR pages: Simplified, community-driven man pages
#164cheat() { curl "http://cheat.sh/$1" } man2txt() { man "$1" | col -bx } manflags(){ man "$1" | awk '{$1=$1;print}' | grep "^\-" } #man pages just the flags more or less, captures some extra ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/"$1".1.html" } # ubuntu web manpages note bionic, update with do release up ubumanflags() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/$1…
Re: TLDR pages: Simplified, community-driven man pages
#165Re: TLDR pages: Simplified, community-driven man pages
#166cheat() { curl "http://cheat.sh/$1" } man2txt() { man "$1" | col -bx } manflags(){ man "$1" | awk '{$1=$1;print}' | grep "^\-" } #man pages just the flags more or less, captures some extra ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/"$1".1.html" } # ubuntu web manpages note bionic, update with do release up ubumanflags() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/$1…
Is there any app that combines all these alternative man-pages?
man() {
(tldr $1 ; man $1) | cat | less
}
Edit: rewrote without the `&&` conditionalRe: TLDR pages: Simplified, community-driven man pages
#167Earlier quoted context omitted.
Ideally I would like to see an additional section in man pages devoted to examples. The TLDR pages could then be moved into the man pages.
tldr didn't choose tar as their front-page demo by accident. The tar manpage is a classic example of the CLI gods apparently going to some effort to design the Examples section to effectively tell new users to bugger the hell off.
Re: TLDR pages: Simplified, community-driven man pages
#168Re: TLDR pages: Simplified, community-driven man pages
#169cheat() { curl "http://cheat.sh/$1" } man2txt() { man "$1" | col -bx } manflags(){ man "$1" | awk '{$1=$1;print}' | grep "^\-" } #man pages just the flags more or less, captures some extra ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/"$1".1.html" } # ubuntu web manpages note bionic, update with do release up ubumanflags() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/$1…
You could improve the ubuman calls so you don't have to change every release: ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/$(lsb_release -cs)/en/man1/"$1".1.html" }
Re: TLDR pages: Simplified, community-driven man pages
#170cheat() { curl "http://cheat.sh/$1" } man2txt() { man "$1" | col -bx } manflags(){ man "$1" | awk '{$1=$1;print}' | grep "^\-" } #man pages just the flags more or less, captures some extra ubuman() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/"$1".1.html" } # ubuntu web manpages note bionic, update with do release up ubumanflags() { w3m -dump "https://manpages.ubuntu.com/manpages/bionic/en/man1/$1…
Is there any app that combines all these alternative man-pages?
It would make a straightforward gui app for rofi or zenity or yad etc, with only one input and just a list of output.