On Thu, 2008-02-28 at 20:49 -0600, Mike Hicks wrote: > EXEC_DIR="$(builtin cd -P -- "${0%/*}" && builtin echo "$PWD")" Okay one last thing, and I think I'm done :-p Turns out quotes aren't necessary around the ${0%/*}, and 'pwd' is also a builtin, so: EXEC_DIR="$(builtin cd -P -- ${0%/*} && builtin pwd) -- Mike Hicks <hick0088 at tc.umn.edu> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20080228/2de58b1c/attachment.pgp