3 ms·
Great resource, bookmarked! However, as the author hints at in the last paragraph, if you can get away with it (i.e., if you don't need to support Minix or som
by julian37 11y ago
Great resource, bookmarked!
However, as the author hints at in the last paragraph, if you can get away with it (i.e., if you don't need to support Minix or something) I believe it's better to just save yourself the pain and go with #!/bin/bash or even better, #!/usr/bin/env python. Both are ubiquitous on many systems and much more predictable.
- delan 11y agoThat’s more true for Linux than other Unix-like systems. Solaris comes with Bourne, FreeBSD comes with that and csh defaulting to Bourne, OpenBSD comes with those and pdksh defaulting to pdksh, and so on.