this post was submitted on 10 Oct 2023
38 points (77.1% liked)

Programming

17319 readers
150 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ck_@discuss.tchncs.de 10 points 1 year ago (2 children)

Since when do Unix tools output 3,000 word long usage info? Even GNU tools don't even come close...

man bash clocks in on about 43.000 words, just FYI

[–] PaX@hexbear.net 4 points 1 year ago (1 children)

True, but a man page is a different thing from a tool's built-in usage information.

[–] ck_@discuss.tchncs.de 7 points 1 year ago (2 children)

I would disagree, or rather: it depends. You can print the --help of bash, but will that actually tell you anything about bash except a really superficial subset of flags? In the same way that the author argues that the help of his tool is too long to be useful, the help of bash is to short for the same reason. He argues that "cloud tools have a gazillion options where UNIX tools have good defaults". Bash has a gazillion options and no good defaults. As a matter of fact, bash on defaults is fairly dangerous. Yet, it is at the heart of most Unix systems today I'd argue.

[–] PaX@hexbear.net 2 points 1 year ago

Yeahh, you have a good point lol. Bash and the GNU ecosystem have developed their own sprawling problems.

[–] otl@lemmy.sdf.org 2 points 1 year ago

Definitely depends, yeah. bash is a huge piece of software that - for me - feels a bit out of place in other systems closer to original unix. Interesting ones are rc and even plain old /bin/sh provided by something like busybox.

[–] zlatko@programming.dev 3 points 1 year ago

Since when do Unix tools output 3,000 word long usage info? Even GNU tools don’t even come close…

[zlatko@dilj ~/Projects/galactic-bloodshed]$ man grep | wc -w
4297
[zlatko@dilj ~/Projects/galactic-bloodshed]$ man man | wc -w
4697
[zlatko@dilj ~/Projects/galactic-bloodshed]$