Live data from Hacker News

Common shell script mistakes (2008)

pixelbeat.org

81–82 of 82 posts

Re: Common shell script mistakes (2008)

#81
post #80

Earlier quoted context omitted.

>which can make it fine for basic scripts. As long as it's for your own system administration, sure. The moment it's being used for software intended to be used by third parties, no, the niceties of bash over bsh are not worth it.

> the niceties of bash over bsh are not worth it? Worth what? What do you lose?

...portability? That's the whole point of this conversation :)

Re: Common shell script mistakes (2008)

#82
post #70

Earlier quoted context omitted.

> Linux and OSX don't use /bin/sh as the default shell. You didn't even read the first sentence of the first hyperlinked page.

I believe xe meant "default login shell". Also, "Bourne Again shell", while we're complaining about missing words :-)

Xe would have been a bit daft to mean that, given the headline topic as well as that the conversation so far has dealt in shell scripts and shell script interpreters, to which the choice of login shell is almost wholly irrelevant.
Post reply on HN