On 2016-02-11 23:48, Didier Kryn wrote:
> Le 11/02/2016 19:25, shraptor a écrit :
>> In my setup /usr/bin/dash is a symlink to /usr/bin/bash
>
> That's a big mistake.
>
> On any Debian system, /bin/sh points to /bin/dash, and dash
> doesn't point to bash. Your system has certainly been hacked.
Yes, It has been hacked by me,
I could have installed dash but a symlink worked fine.
>> It works!
> Sure, bash can process ash scripts. The problem is the opposite
> isn't true because bash provides a lot of additional features,
> "bashisms", which distros decided to erradicate from their scripts.
> Users are free to write bash or ksh scripts, but portable scripts must
> execute on ash.
>
> Didier
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng