From: michael AT weiser DOT saale-net DOT de (Michael Weiser) Subject: Re: bash pattern substitution 20 Sep 1998 22:33:33 -0700 Message-ID: <360a43e0.8502596.cygnus.gnu-win32@mail.weiser.saale-net.de> References: <000501bde352$dd936610$68c718d1 AT pacific DOT nuance DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit To: "Jeff Bergan" Cc: gnu-win32 AT cygnus DOT com Hello Jeff, you wrote: >I was just trying to write a bash script in which I wanted to do a quick >substitution in a variable, and it seems that bash has trouble with this. I >typed in an example from a book which works on unix: >echo -e {PATH//:/'\n'} You've forgotten a '$'. echo -e ${PATH//:/'\n'} should work. -- bye, Michael - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".