For ash shell: functional "type -p"

Denis Vlasenko vda.linux at googlemail.com
Sun May 20 22:06:07 UTC 2007


On Sunday 20 May 2007 15:12, Denis Vlasenko wrote:
> Hi Mats.
> 
> [late reply. sorry...]
> 
> On Thursday 03 May 2007 12:44, Mats Erik Andersson wrote:
> > I have been missing, inside ash, a short path response
> > from the type builtin:
> > 
> > $ type -p tail
> > /usr/bin/tail
> > 
> > The attached difference file ackomplishes this in a
> > somewhat cheating manner, since it only detect whether
> > the first argument of "type" begins with a dash, and then
> > verbosity is switched off.
> 
> I'm file with this, as the code is smaller :)

"fine".

My rate of making typos is on the rise :(
--
vda



More information about the busybox mailing list