Rather than specifying an absolute pathname,
use command substitution instead.
% vi /usr/local/bin/foo
% vi `which foo`
NOTE: files must be in your path for "which" to find them.
This tip generously supported by: firstname.lastname@example.org NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into