58
submitted 7 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] roadrunner_ex@lemmy.ca 16 points 7 months ago

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 7 months ago

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 7 months ago

Iirc Void too.

load more comments (1 replies)
load more comments (7 replies)
this post was submitted on 06 Mar 2024
58 points (92.6% liked)

Programmer Humor

32266 readers
59 users here now

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

Rules:

founded 5 years ago
MODERATORS