Mike Coleman wrote:
> [Oops--I sent that incomplete.]
> 
> It would be nice if there was some really brief syntax for
> 
>     $(type -p somecommand)
> 
> I find myself using this all day long with 'ls', 'file', 'ldd',
> 'strings', 'nm', etc., and the current incantation is just long enough
> to be annoying.
> 
> Mike
> 
> 

Why do you need to get the path of a program that's in PATH?

If you only need to check if it's in PATH then you can use other things,
and these in a loop.

J.



Reply via email to