News for hackers. Stuff that matters.
Re:Shell Script Best Practices, from a decade of scripting t... by counttheforks on Thursday October 27, 2022 @08:29AM (#33356520)
Not going to install fish on all of my servers just so i can run your scripts, sorry. They already have bash pre-installed, though.

> If I want to run some POSIX-compatible script then I just use `bash scripts.sh`

Shouldn't you be using a shebang?

Re:Shell Script Best Practices, from a decade of scripting t... by lannisterstark on Saturday October 29, 2022 @03:28AM (#33381847)
>Shouldn't you be using a shebang?

Why would they use a shebang? `bash script.sh` works perfectly fine. Ever used a terminal?