[plug] Java environment variable
Greg Mildenhall
assassin at live.wasp.net.au
Wed Sep 26 10:13:41 WST 2001
On Wed, 26 Sep 2001, Carl Gherardi wrote:
> On Wed, 26 Sep 2001, Greg Mildenhall wrote:
> > On Tue, 25 Sep 2001, Carl Gherardi wrote:
> > > a line from my bashrc to remove "."
> > > PATH=`echo $PATH | sed -e 's/::/:/g; s/:.:/:/g; s/:.$//; s/^://'`
> > Shouldn't that be:
> > PATH=`echo $PATH | sed -e 's/::/:/g; s/:.:/:/g; s/:.$//; s/^.://'`
> Nope but I should probably add that one aswell
Then you should also add s/:$// no?
While you're at it... how about delimiting those '.'s? '.' matches any
character, so if you just want to match '.', you will need to use "\.".
-Greg
More information about the plug
mailing list