50
How NOT TO CODE: Intel's Linux Thunderbolt Utils Code is the WORST I have EVER SEEN!
(www.youtube.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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?
100%. Alpine is one such distro.
Iirc Void too.