3 ms·
Tell that to Debian/Ubuntu as well: default user shell is Bash, default /bin/sh is dash. If you need more-than-POSIX in your scripts, then use the proper sheba
by throw0101a 7y ago
Tell that to Debian/Ubuntu as well: default user shell is Bash, default /bin/sh is dash.
If you need more-than-POSIX in your scripts, then use the proper shebang.
- JoshTriplett 7y agoI use Debian, and I'm aware. Bash still uses primarily POSIX sh syntax, with extensions. It's helpful for people to be able to apply knowledge from the command line to shell scripting and vice versa, even if they have to do a bit of porting work, rather than using completely different shells and syntax.