| [reply] [d/l] [select] |
oh thank you. It's that in my system type cpanm's output is verbose and breaks the above command with this output: cpanm is /usr/local/bin/cpanm . and which doesn't. But this works (only if path does not contain spaces): head -n 1 "$( type cpanm | awk '{print $NF}')"
It looks type has been buried under the weight of its success. Next step: unicode quotes and ellipses.
| [reply] [d/l] [select] |
It looks type has been buried under the weight of its success
Ha ha! It's been twenty years since I looked at this in any detail, just kept on happily using the good ol' bald type command.
I was surprised just now
(and not in a good way) to learn of many more ways to do it:
I don't think this is an impressive application of TMTOWTDI. :)
| [reply] [d/l] [select] |
Sorry, I meant type -p perl. Been a while.
Anyway, I asked for the perl used to installed the module, and you haven't provided. (Oops, forgot the leading "What", but you seem to understand it was a request)
Seeking work! You can reach me at ikegami@adaelis.com
| [reply] [d/l] [select] |