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

Re: command -v in postinsts violating policy



On Mon, 27 May 2002 10:03:26 +0200
Luca - De Whiskey's - De Vitis <luca@linuxasylum.net> wrote:
> We can send a wishlist bug to debianutils to add a flag to which in
> order to be quiet: -q|--quiet?

But now you have disabled the entire functionality of which, and that is
to send to stdout the first found in $PATH, full path to the specified
executable.

`which` does not itself execute commands; it finds them by searching the
$PATH and then echoes them.

If you make it quiet, it will be about as useful as

echo "" > /dev/null

(man which will be useful to verify this, altho it's not all that
specific: in that context, "returns" is really "streams to stdout,"
and -not- "returned as exit status," which wouldn't make sense for a
string anyway. Know your commands... it's useful when you're posting
about them :)

> ciao,
> -- 
> Luca - De Whiskey's - De Vitis

-Jim


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: