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

Lintian check shell-script-fails-syntax-check and different /bin/sh's



[CC: and Reply-To: lintian-maint@debian.org, please follow-up there]

On Sat, Jul 15, 2006 at 09:10:06PM +0200, Adam Borowski wrote:
> On Sat, Jul 15, 2006 at 03:50:20PM +0200, Thomas Eriksson wrote:
> > "shell-script-fails-syntax-check", what I'm blindly guessing is that
> > lintian complains (rightfully so, albeit sh -n produces no error since
> > it is linked to bash :)) that the ksh functions contained therein are
> > not syntactically correct according to POSIX sh?
> 
> Indeed, Lintian doesn't depend on dash or posh, and will find this problem
> only if /bin/sh is one of the pickier shells. 

Is there any compelling argument against depending on dash (or
perhaps even posh) and using it for the syntax checks if a #!/bin/sh
header is detected?

Cheers,
Christian Aichinger

Attachment: signature.asc
Description: Digital signature


Reply to: