News for hackers. Stuff that matters.
Re:Rsync, GUIs, power, control, design, and decisions by cyc115 on Tuesday July 09, 2019 @01:10PM (#20394109)
not super relevant here, but for those interested. There is a cli tool called `tldr` that takes in the name (of a tool) and prints out common usages.
Re:Rsync, GUIs, power, control, design, and decisions by darkpuma on Tuesday July 09, 2019 @01:48PM (#20394601)
I'm a big fan of this. Probably 90% of the time the tldr summary has my use-case covered.
Re:Rsync, GUIs, power, control, design, and decisions by Fnoord on Tuesday July 09, 2019 @02:22PM (#20395019)
If the tldr entry exists. Obscure commands don't have one while you're less likely to know these well. Chicken/egg problem.
Re:Rsync, GUIs, power, control, design, and decisions by darkpuma on Tuesday July 09, 2019 @02:36PM (#20395162)
In my experience the coverage is shockingly good. And if you find a case where there is no tldr, you're back where you're started having lost not more than five seconds. The failure case is graceful, so it was easy to put tldr into my workflow.
Re:Rsync, GUIs, power, control, design, and decisions by weaksauce on Tuesday July 09, 2019 @03:06PM (#20395436)
I wonder if tldr returns a meaningful exit value that you could write an alias/function for something like tldr $term || man $term
Re:Rsync, GUIs, power, control, design, and decisions by darkpuma on Tuesday July 09, 2019 @04:59PM (#20396516)
Definitely; tldr returns 0 on success, 1 on failure.

    tldr_or_man() { tldr $1 || man $1 }