Re: command -v in postinsts violating policy
On Mon, May 27, 2002 at 03:29:02AM -0500, Adam Heath wrote:
> On Mon, 27 May 2002, Luca - De Whiskey's - De Vitis wrote:
>
> > On Mon, May 27, 2002 at 01:13:12AM -0400, Joey Hess wrote:
> > > > 2) a command that with a flag can be told not to spew any output under
> > > > any circumstances (a la grep -qs)
> > >
> > > Which seems marginally better here, though I am still redirecting stderr
> > > and stdout to /dev/null just in case.
> >
> > We can send a wishlist bug to debianutils to add a flag to which in order to
> > be quiet: -q|--quiet?
>
> So, how do we then look for a command '-q'?
>
> which doesn't currently have --. In fact, which does no parsing of it's
> command line at all.
>
> Adding a -q will break backwards compatibility.
Sorry, i do not understand what you mean: i tried adding a '-q' command in
/usr/bin and using "which -- -q" and it worked.
ciao,
--
Luca - De Whiskey's - De Vitis | Elegant or ugly code as well
aliases: Luca ^De [A-Z][A-Za-z\-]*[iy]'\?s$ | as fine or rude sentences have
Luca, a wannabe ``Good guy''. | something in common: they
local LANG="it_IT@euro" | don't depend on the language.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: