Re: Bug#147203: lintian: scripts syntax checking (sh -n)
On Sun, Nov 24, 2002 at 07:08:05PM +0100, Bill Allombert wrote:
> +#perl -c execute the BEGIN and END section, which can be a
> +#security problem. Also it is slow.
I'm inclined to think that 'perl -c' is not really a useful check to
have. The checks for bashisms and such are useful, because they check
parsing with different shells, which isn't something everyone remembers
to do. However, if you've got a perl postinst, then you *cannot* install
the package unless it parses.
If people don't even install the package, then (a) I think they probably
won't bother running lintian/linda either, and (b) we have much worse
problems. The 'perl -c' check seems like high cost for low gain to me.
(Copying -lint-maint because StevenK was talking about including one of
these in linda.)
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: