Francesco Potorti` writes:
> > I was afraid that this which-like command might be known by
> > various names on various systems, and the output might vary.
>
> I tried this, and I think it should work on any bourne shell:
Yes but not for any tr. Try this change
> echo $PATH |
> tr : \\n |
tr : \\012 |
> while read dir;
> do if [ -x $dir/perl ];
> then echo $dir/perl; break;
> fi; done
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
[EMAIL PROTECTED] -./\.- opinion of Schlumberger, Baker
http://www.crosswinds.net/~petef -./\.- Hughes or their divisions.
- Re: odd search order looking for perl? Chris Green
- Re: odd search order looking for perl? Kai Gro�johann
- Re: odd search order looking for perl? Chris Green
- Re: odd search order looking for perl? Kai Gro�johann
- Re: odd search order looking for perl... Chris Green
- Re: odd search order looking for perl? Bruce Ingalls
- Re: odd search order looking for perl? Kai Gro�johann
- Re: odd search order looking for perl? Bruce Ingalls
- Re: odd search order looking for perl? Kai Gro�johann
- Re: odd search order looking for perl? Francesco Potorti`
- Re: odd search order looking for perl... Pete Forman
- Re: odd search order looking for... Daniel Pittman
- Re: odd search order looking for perl... Kai Gro�johann
- Re: odd search order looking for... Francesco Potorti`
- Re: odd search order looking for... Edward J. Sabol
- Re: odd search order looking for... Kai Gro�johann
- Re: odd search order looking for... Francesco Potorti`
- Re: odd search order looking for... Kai Gro�johann
- Re: odd search order looking for... Francesco Potorti`
- Re: odd search order looking for... Kai Gro�johann
- Re: odd search order looking for perl? Mark A. Hershberger
