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

Bug#490604: debian-policy: please don't state that scripts working under dash are 'probably' policy-compliant



Package: debian-policy
Version: 3.8.0.1
Severity: wishlist

I fail to see why policy states (10.4):

> You may wish to restrict your script to SUSv3 features plus the above set
> when possible so that it may use /bin/sh as its interpreter. If your script
> works with dash (originally called ash), it probably complies with the
> above requirements, but if you are in doubt, use /bin/bash.

dash has some extra features not required by policy and thus may give the 
reader the impression that if a script works fine under dash it is likely to 
be policy-compliant.

If such kind of statement is really wanted please instead refer to posh and/or 
checkbashisms. The former is meant to only provide what the policy requires 
and the latter is a tool to detect the usage of features not required by 
policy (as stated in the man page, despite the usage of the name 'bashisms').

Regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: