Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!otello!venta From: venta@otello.sublink.org (Paolo Ventafridda) Newsgroups: comp.unix.shell,sublink.lang.shell Subject: Bourne Shell bug? Have a look.. Message-ID: <1174@otello.sublink.org> Date: 15 Jan 91 18:06:13 GMT Organization: Consorzio Telematix, Milano - Italy Lines: 20 Please have a look at this small program written in standard Bourne shell: : set "one two three 4" if [ "`echo $@ | grep '4'" != "" ]; then echo "Four" fi Now, notice that a ` is missing in the "if" above! It works without any problems all the same: on Xenix, SCO Unix, 3B2, HP-UX and i guess on any bourne shell whose sources are coming from at&t. It seems that only BASH gets the error. Ciao, Paolo -- Paolo Ventafridda -*- INTERNET: venta@otello.sublink.org TELEMATIX MILANO - Via C.Gomes 10, 20124 Milano - +39-2-6706012