11

not found message

view full story
linux-howto

http://www.unix.com – I am trying to execute a script called tfile.sh in a bash shell in solaris and it throws up the following message Quote: ./tfile.sh: [[: not found I am getting the required output after this message. How do i get the message to disappear. Can someone please point out my mistake in the script? Thanks in advance Code: VAR1="hostname63uf.group" if [[ `echo $VAR1" |grep 63u` ]] then         SUB1="yes"         SUB2="23421" else         SUB1="n (HowTos)