[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Bashisms...

>   I don't know much about lintian.  Could tests be implemented for the common
> cases here? (eg: if ash is on the system, try to compile #!/bin/sh scripts
> with
> ash -- if it suceeds, grep them for "[ +[^\]]* +==" and print a warning if we
> find it..this could give false positives though..)

I submitted a patch to lintian on this.  Not sure how far it got.  Have not
looked.  lintian is perl so regex'es are your friend.

Reply to: