News for hackers. Stuff that matters.
Re:The xz attack shell script by im3w1l on Thursday April 04, 2024 @01:44AM (#39926947)
I have seen people write bash scripts with a lot of love and attention trying really hard to pay attention to modern best practices and avoiding known pitfalls and using shellcheck. It still looked like shit imo.

I challenge you to find a single easily readable >100 line bash script and link it here (I do think small scripts can be fine).

Re:The xz attack shell script by bayindirh on Thursday April 04, 2024 @02:51AM (#39927313)
While not completely up to my own standards, this is pretty neat and readable: https://rclone.org/install.sh

I may add more if I have time today.

Re:The xz attack shell script by im3w1l on Thursday April 04, 2024 @10:10AM (#39930629)
Must say I'm pleasantly surprised.
Re:The xz attack shell script by sanderjd on Thursday April 04, 2024 @08:34AM (#39929607)
Yep, my experience of this was at google, where I heard "gbash is actually pretty good!", so I learned that system well (because shell scripts are incredibly useful!), but still found the results unsatisfyingly inscrutable.