Derek Carter wrote: > > Try dirname and basename
nope. Doesn't work. $ dirname `pwd`/../foo/baz /my/current/path/../foo/baz I need it to return /my/current/foo/baz > > -- > Goozbach > > /* > PLUG: http://plug.org, #utah on irc.freenode.net > Unsubscribe: http://plug.org/mailman/options/plug > Don't fear the penguin. > */ > -- Michael Torrie Assistant CSR, System Administrator Chemistry and Biochemistry Department Brigham Young University Provo, UT 84602 +1.801.422.5771 /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */