Mike Miller wrote: > On Wed, 27 Feb 2008, Jon Schewe wrote: > > >> On Linux you have two options: >> 1) If you can guarantee that dirname exists then this works: >> mypath=`dirname $0` >> > > That won't work when there are spaces in $0 -- see my earlier message. > > So so put quotes around $0. -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39