Re: command -v in postinsts violating policy
>>"Jim" == Jim Lynch <email@example.com> writes:
Jim> On Mon, 27 May 2002 10:03:26 +0200
Jim> Luca - De Whiskey's - De Vitis <firstname.lastname@example.org> wrote:
>> We can send a wishlist bug to debianutils to add a flag to which in
>> order to be quiet: -q|--quiet?
Jim> But now you have disabled the entire functionality of which, and that is
Jim> to send to stdout the first found in $PATH, full path to the specified
Not quite. Indeed, I never look at the output of which in
Jim> `which` does not itself execute commands; it finds them by searching the
Jim> $PATH and then echoes them.
Jim> If you make it quiet, it will be about as useful as
Jim> echo "" > /dev/null
if which file 2>&1 >/dev/null; then
Is useful, even if the output is being discarded.
Even if a fool were to take his food month after month off the tip of
a blade of grass, he would still not be worth a fraction of those who
have understood the truth. 70
Manoj Srivastava <email@example.com> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com