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

Re: which..



On the subject on which, why not use:

-- which script for bash starts --
/bin/tcsh
# or where-ever tcsh is

which $*
# or what-ever prints all input parameters in tcsh
-- which script for bash ends --
 
As you all surely understand I'm not well versed in the writing of shell 
scripts, but hopefully you get the idea. 

I would just like to add, as which is originally from tcsh (IMHO), why not 
use tcsh to run which and we'll have the same behaviour in bash as in tcsh.


Suckled on tcsh as an two-month old baby,

							MartinS


Reply to: