this post was submitted on 06 Mar 2024
50 points (91.7% liked)

Programmer Humor

32464 readers
190 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] roadrunner_ex@lemmy.ca 15 points 8 months ago (9 children)

Putting aside the "should/shouldn't do" argument, I was also wondering if the code is even viable. I imagine that 'ls' and 'sudo' are probably pretty ubiquitous, but I bet there exist some Linux installs out there with a different shell than 'bash', and some might not have 'grep' too. That would lead to some pretty cryptic bugs for the end user, eh?

[–] const_void@lemmy.ml 13 points 8 months ago (2 children)

I bet there exist some Linux installs out there with a different shell than 'bash',

100%. Alpine is one such distro.

[–] backhdlp@iusearchlinux.fyi 2 points 8 months ago

Iirc Void too.

load more comments (1 replies)
load more comments (7 replies)