Hi list,
I have run into a little difficulty...

I am writing a script that :

Checks page 1 for text, then checks page2 for text then lauches a
command - I have tried this :

if lynx -dump page1 | grep -q -e "search string"
if lynx -dump page2 | grep -q -e "search string"
then 
command
fi

i have also tried using elif commands but always seem to get syntax
errors: unexpected end of file

can someone help me to understand where i am going wrong ?

thanks in advance...

--
[email protected] mailing list

Reply via email to