5 ms·
I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.
by jfb 10y ago
I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.
- davej 10y agoPresumably because most of the commands are just shortcuts for other shell commands. Probably the right tool for the job in this case.
- jfb 10y agoYeah, fair enough. Not everybody hates the shell as much as I do.
- eddieh 10y agoSomeone would ask why not write it in sh, if it was written in Python, Ruby, Perl, or Tcl. I prefer stuff like this in sh.
- pfranz 10y agoI like to challenge myself to write little things like this as shell-scripts, too. But I am surprised they didn't at least choose use Bash instead of Bourne shell.