News for hackers. Stuff that matters.
Re:Show HN: Swiss Army Knife for Mac OS X by jfb on Thursday July 14, 2016 @07:53PM (#12098108)
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.
Re:Show HN: Swiss Army Knife for Mac OS X by davej on Thursday July 14, 2016 @08:09PM (#12098170)
Presumably because most of the commands are just shortcuts for other shell commands. Probably the right tool for the job in this case.
Re:Show HN: Swiss Army Knife for Mac OS X by jfb on Thursday July 14, 2016 @08:13PM (#12098183)
Yeah, fair enough. Not everybody hates the shell as much as I do.
Re:Show HN: Swiss Army Knife for Mac OS X by eddieh on Thursday July 14, 2016 @08:11PM (#12098178)
Someone 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.
Re:Show HN: Swiss Army Knife for Mac OS X by pfranz on Thursday July 14, 2016 @08:35PM (#12098255)
I 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.