[Slackbuilds-users] bashisms?
Didier Spaier
didier at slint.fr
Sat Aug 29 09:32:08 UTC 2015
On 29/08/2015 10:16, B Watson wrote:
> On 8/28/15, Jim Diamond <Jim.Diamond at acadiau.ca> wrote:
>
>> and otherwise following
>> good programming practices by explicitly declaring that the shell
>> script must be run by bash if that is, indeed, the case).
I fully agree to what Jim wrote.
>
> I tried doing that, it got changed back to #!/bin/sh, so I just gave up.
Seeing how many SlackBuilds you contributed, I can understand your
feeling. I am impressed.
> I don't use other shells normally, and haven't memorized the POSIX shell
> spec, so can't remember (and can't be bothered to forever be looking up)
> what's a bashism and what isn't.
For anyone reading, some stuff that may help.
chechkbashims is provided here:
http://slackbuilds.org/repository/14.1/development/checkbashisms/
See also:
http://mywiki.wooledge.org/Bashism
And of course bash --posix.
Cheers,
Didier
More information about the SlackBuilds-users
mailing list