News for hackers. Stuff that matters.
Re:Show HN: Bish – Shell scripting with a modern feel by urda on Sunday March 08, 2015 @10:19PM (#9168588)
> because Ubuntu doesn't install bash by default, it uses ash (a small POSIX shell). So, bash has the exact same flaw as Perl for that use case.

Do you have a citation for this? I just checked my boxes and servers and they all have bash and are using it directly as the default shell. I never had to install bash myself on these machines.

Re:Show HN: Bish – Shell scripting with a modern feel by singlow on Sunday March 08, 2015 @10:48PM (#9168692)
Ubuntu uses dash as the system shell. The default login shell is still bash. While /bin/sh is symlinked to /bin/dash - you are probably using bash from your terminal, unless you changed it.

Actually I just checked by /bin/sh and it's pointed to /bin/bash on my laptop (14.10) but on my desktop it is /bin/dash (also 14.10). Now I have some investigating to do. I suspect I did something that changed that but I don't remember doing it.

Re:Show HN: Bish – Shell scripting with a modern feel by SwellJoe on Sunday March 08, 2015 @10:54PM (#9168711)
Oops, you're right. dash and not ash. Definitely not bash, by default, however. I had to rewrite our install script to be POSIX friendly when the switch was made a few years ago. Not entirely awful, I guess, as the Ubuntu folks provided a really nice guide for converting.

https://wiki.ubuntu.com/DashAsBinSh

Re:Show HN: Bish – Shell scripting with a modern feel by SwellJoe on Sunday March 08, 2015 @10:55PM (#9168713)
It's actually dash. Sorry. Misremembered.

https://wiki.ubuntu.com/DashAsBinSh