On Sat, Nov 01, 2003 at 04:55:36PM +0000, Ian Jackson wrote: > Branden Robinson writes ("Re: Bug#218530: Suboptimal conditional rune for > initscripts"): > > Ah, I see the reason: > ... > > [127] [EMAIL PROTECTED]:~ % ash > > $ type ls > > ls is /bin/ls > > But you don't, because it has a nonzero exit status if the command is > not found - and foundness is the only thing the maintscript is > interested in.
Ah, right. Well, then, type and which seem to be equivalent. "which" seems far more intiutitive to me, but then I grew up using TCSH and am accustomed to most shells having it as a built in. -- G. Branden Robinson | Never attribute to malice that Debian GNU/Linux | which can be adequately explained [EMAIL PROTECTED] | by stupidity. http://people.debian.org/~branden/ | -- Hanlon's Razor
signature.asc
Description: Digital signature