Hello Richard,

At 09:14 AM 9/11/2001 -0400, Richard Brust wrote:
>I am trying to print lines from an HTML page that have a certain
>date(today).  The following works:
>
>lynx -dump http://www.tbri.com/News/pgPubCal.asp | grep "Sep 11"

This did not work for me.  Changing "Sep 11" to "Sep" worked, though.

Changing this:
  $d = `date "+%b %d"`;
to this:
  $d = "sep";
made example 1 work.

Changing this:
  print if (/Sep 11/i);
to this:
  print if (/Sep/i);
made example 2 work.

Your scripts are fine.  You were looking for a pattern that doesn't exist.

Regards,
- Robert


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to