At Sun, 06 Feb 2005 14:46:18 +0000 Mal Herring <[EMAIL PROTECTED]> wrote:
> 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 You have two if's and only one then. What is the goal? Do you want to execute the command if either page has the string or only if both do? allan -- [email protected] mailing list
