[opensuse] Re: [opensuse-factory] Re: system scripts using BASHism's but invoked as "#!/bin/sh"
Jan Engelhardt wrote:
On Friday 2013-01-25 22:42, Linda Walsh wrote:
Bug 800607 Submitted system scripts should be scan'ed for bashims, and have 1st line update to bash if used CLOSED/INVALID.... and you wonder why I think filing bug reports is a waste of time.
Because they are already scanned.
The scanning is broken. [[]] are not part of posix and the claim is it is also run through a syntax check in dash. Trying to use arrays or [[]] in dash result in syntax errors. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
[26.01.2013 02:24] [Linda Walsh]:
Jan Engelhardt wrote:
On Friday 2013-01-25 22:42, Linda Walsh wrote:
Bug 800607 Submitted system scripts should be scan'ed for bashims, and have 1st line update to bash if used CLOSED/INVALID.... and you wonder why I think filing bug reports is a waste of time.
Because they are already scanned.
The scanning is broken.
[[]] are not part of posix and the claim is it is also run through a syntax check in dash.
Trying to use arrays or [[]] in dash result in syntax errors.
Write your comments in the ticket, not to this list. -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Linda Walsh
-
Werner Flamme