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

Re: RFD: Essential packages, /, and /usr



> Easy now.  I don't *like* the construction
> 
> if command -v foo > /dev/null 2>&1; then
>   foo
> fi
> 
> I hate that nasty redirection that is imposed on me.

Well, the popular proposal (which seems to be SUSv3+UP+XSI), will give
you type, and you'll need to redirect that as well.

If you want some sort of -q option, you'll need something else entirely.


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



Reply to: