4 ms·
My main gripe with 'BASH scripts' is that in most cases they could simply be 'Shell scripts' and in most cases they call and require Bash for no reason at all ;
by tachion 11y ago
My main gripe with 'BASH scripts' is that in most cases they could simply be 'Shell scripts' and in most cases they call and require Bash for no reason at all ;)
- TorKlingberg 11y agoI guess most people cannot be bothered to remember which features are bash specific and which will work in any /bin/sh. I don't think there is such a thing as a generic "shell script", csh has completely different syntax.
- stephenr 11y agoThe generic variant is called posix compatible or sometimes Bourne compatible. Lots of people target bash without knowing that some of its non-posix features are not compatible across even minor versions.