Quoth Nadav Har'El: > I figured that since I came out the total idiot (giving the 4th identical > answer in 5 minutes), I'll expand your knowledge by showing *how* this > can be done with expr(1) and using shell builtin features.
Nadav, nadav, nadav - this is over-obtuse. Let's try the other way :-) ---cuttez--- marc@hyena:marc/$ which gcc /usr/bin/gcc marc@hyena:marc/$ which gcc | rev | cut -f 2- -d"/" | rev /usr/bin ---cuttez--- ch, basicly, says - take the returned string, if any, turn it over, chop off its head, turn it over, return it... But, I must admit, the expr games are quite... errr... esoteric ;-)... Marc ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]