>#!/bin/bash? Sounds like bloat to me. i just use #!/bin/sh so that my scripts are usable everywhere.
#!/bin/bash? Sounds like bloat to me. i just use #!/bin/sh so that my scripts are usable everywhere
Other urls found in this thread:
For me it's #!/usr/bin/env bash so that it can find the right shell at /home/user/gentoo-prefix/bin/bash rather and also use all my intentional bash'ism given I don't give a fuck about posix sh.
You better actually test it with all the different implementations of core utilities. How does sed -i work today?
>tests
Not my problem.
>shebangs
complete waste of space. just expect everyone to be using bash. retards dont deserve a working script
Theres quite a few people using zsh
its better to do the shebangs so you can kill your script with pkill ./myscript.sh instead of guessing which bash is running my script
./myscript.sh
pkill myscript.sh
bash myscript.sh
pkill bash
who the hell uses pkill?
>"""people"""
For me, it's
#!/usr/bin/env nix-shell
@echo off
>not using nushell
#!/usr/bin/env nu
ISHYGDDT
Get a job
for me it's
#!/usr/bin/tcc -run
#include
int main(void) {
puts("hello world from a script");
return 0;
}
>nooo you can't do things on a computer for fun
i use zsh and pkill AMA
>literally nu-shell
Ö
I know right, the joke writes itself
github.com
looks powershelly
take the pkill pill
Why.