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

Re: Proposed new POSIX sh policy



On Thu, Nov 16, 2006 at 07:35:14PM -0800, Thomas Bushnell BSG wrote:
> On Thu, 2006-11-16 at 21:16 -0600, Manoj Srivastava wrote:
> >         Your scripts shouuld really just use whatever POSIX mandates
> >  ls has. Just like it should use whatever POSIX mandates test has.
> 
> Ok, so this means something like the following would be good for policy:
> 
> "When POSIX specifies a command, shell scripts should only use the
> options mandated by POSIX for that command, even if the standard Debian
> versions have more.  Specify a complete pathname to the command if you
> need the options the standard Debian version provides.  (Exceptions:
> echo -n, and test -a/-e may be used even though not mandated by POSIX.)
> 
> "You may use commands not specified by POSIX, provided they are in
> essential packages, or packages that you Depends: on."

This proposal has some merit, as long as we do s/POSIX/SuSv3/.
Also, we probably want to make exceptions for find/xargs (to get -0).

[snip]


Regards: David
-- 
 /) David Weinehall <tao@debian.org> /) Rime on my window           (\
//  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   //  Diamond-white roses of fire //
\)  http://www.acc.umu.se/~tao/    (/   Beautiful hoar-frost       (/



Reply to: