Re: Quotes inserted into command

2007-05-22 Thread Chet Ramey
Matt Kane wrote: > Hello, > > I've got a script that does the following: > JAVA=/usr/bin/java > JAVA_W_CLASSPATH="$JAVA -cp \"$classpath\" " > $JAVA_W_CLASSPATH com.choicestream.foo > echo $JAVA_W_CLASSPATH > > I've noticed that on different versions of bash, it behaves differently. > Bash 3.0 wi

Re: Quotes inserted into command

2007-05-22 Thread Andreas Schwab
"Matt Kane" <[EMAIL PROTECTED]> writes: > Hello, > > I've got a script that does the following: > JAVA=/usr/bin/java > JAVA_W_CLASSPATH="$JAVA -cp \"$classpath\" " > $JAVA_W_CLASSPATH com.choicestream.foo > echo $JAVA_W_CLASSPATH > > I've noticed that on different versions of bash, it behaves diff

Quotes inserted into command

2007-05-22 Thread Matt Kane
Hello, I've got a script that does the following: JAVA=/usr/bin/java JAVA_W_CLASSPATH="$JAVA -cp \"$classpath\" " $JAVA_W_CLASSPATH com.choicestream.foo echo $JAVA_W_CLASSPATH I've noticed that on different versions of bash, it behaves differently. Bash 3.0 will execute: /usr/bin/java -cp "/path/

expand_aliases should be on for interactive shells

2007-05-22 Thread Joseph Michaud
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'