On Thu, Feb 28, 2008 at 10:38:40PM -0600, Mike Hicks wrote: > 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) Now, can a kind soul wait a couple more days to see if the horse is well done or still twitching, then write up a concise and correct reply (preferably to the original message) so it is archived for posterity? Thanks, florin -- Bruce Schneier expects the Spanish Inquisition. http://geekz.co.uk/schneierfacts/fact/163 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20080228/f1957830/attachment.pgp