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

Bug#218530: Summary of options for improving conditional rune for initscript calls



On Fri, Jun 25, 2004 at 10:59:58PM +0200, Andreas Metzler wrote:
> On 2004-06-25 Thomas Hood <jdthood@aglu.demon.nl> wrote:
> > On Fri, 2004-06-25 at 20:29, Andreas Metzler wrote:
> > > FWIW posix suggests to use "command -v" if available,
> 
> > In that case, should the fact that posh doesn't support it be
> > considered a bug?
> 
> No, sorry if I was not clear enough.
> 
> posh by design only implements posix without any extensions,
> "command -v" is an UP extension.

No, posh by design only implements what the policy currently says
is allowed.  The policy currently says that only POSIX + echo -n is
allowed.  I'm happy with either adding `command -v' or the entire set of
commands in UP.  I don't want stuff from XSI be mandated, though,
XSI contains too much junk and old workarounds for warts.

The extensions in UP are:

alias
bg
command -v
command -V
fg
jobs
time
unalias

Clearly, most of these won't affect scripts at all, unless some really
evil scripts are written...


Regards: David Weinehall
-- 
 /) David Weinehall <tao@acc.umu.se> /) Northern lights wander      (\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\)  http://www.acc.umu.se/~tao/    (/   Full colour fire           (/



Reply to: