> > I am using Ubuntu 7.10 gutsy gibbon version... and bash shell ... i removed > th () from the line 2 of check_failure.sh file... and on running example 01 > ... i get ... > > ../check_failure.sh: 2: function: not found > test: 8: 0: unexpected operator > ../check_failure.sh: 9: Syntax error: "}" unexpected >
I think you have to change the first line of the script from #!/bin/sh to #!/bin/bash Andrea National Research Center S3, CNR-INFM ( http://s3.infm.it ) Dip. Fisica, Univ. di Modena e Reggio E. (Italy) Tel: +39 059 2055301; Fax: +39 059 374794; Skype: andrea_ferretti URL: http://www.nanoscience.unimo.it Please, if possible, don't send me MS Word or PowerPoint attachments Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
