Follow

How do we encourage people to stop using #!/bin/bash?
That alone ports over 90% of Linux-specific scripts to BSD.

@farhan I know I'm guilty of using bash up there when I know the script will work on things like Sun's ancient /bin/sh. It's entirely because I know the systems my script needs to run on have bash installed.

Sadly, I don't think people will stop needlessly being bash-specific until the obvious porting issues affect them directly.

@yakkoj To be fair, Linux dominates the legacy Unix market. Anything else out there, including BSD which I love, is a rounding error.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!