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

Re: Official position on POSIX compliance?



> * 'tail -1' and 'head -1' instead of POSIX-compliant 'tail -n 1' and
>   'head -n 1'.
> 
> * user/group specification as 'user.group' as an argument for chown, for
>   example. The correct POSIX form is 'user:group'.
> 
> * Arguments -a and -o to 'test', which are XSI extensions.

Some common ones you're missing are

* 'kill -1' and 'kill -HUP' instead of POSIX-compliant 'kill -s HUP'.
* 'trap "blah" 1 2 3' instead of POSIX-compliant 'trap "blah" HUP INT QUIT'.
* 'local'.
* 'command -v' and 'type' instead of '/usr/bin/which' or similar mechanism.

> * Does the majority of Debian developers agree, that this compliance
>   should be enforced and bugs should be filed against the non-compliant
>   packages?

Seems that way.

> * What severity should be assigned to non-POSIX-compliance bugs (if any)?

serious; it's a violation of a 'must' directive of Policy 10.4.



Reply to: