Bob,
I really appreciate your rssponse here.
This works !!
However the main issue here is the version of bash I was using which was
GNU bash, version 2.05b.0(4)-release (sparc-sun-solaris2.8)
I was also actually executing on Solaris 10
After installing the latest version of bash, all the pro
Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler:
gcc -I/usr/src/packages/BUILD/bash-3.2
-L/usr/src/packages/BUILD/bash-3.2/../readline-5.2
Compilation
CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu'
-DCONF_MACHT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bernhard Bablok on 2/22/2008 4:48 AM:
| Description:
| The following code produces an error (second if-statement):
|
| #!/bin/bash
|
| if [ '(' != ',' ]; then
|echo "'(' != ',' works :-)"
| fi
| if [ 'a' != 'b' -a '(' != ',' ]; then
|