I have a crude script that includes line like below, to look for dates in
HTML only email:

..
fgrep  -f dates part2 && exit 0
..

'dates' has dates like so:
1/10/2014
12/10/2014

that works well, EXCEPT, '1/10/2014' will match 1/10/2014, good, BUT also
11/10/2014 and 21, and 31, not good

HTML mail has format like so:
Date Time: </td><td colspan="1" rowspan="1">1/10/2014 1400 Tuesday</td></tr>

or

Date Time: </td><td colspan="1" rowspan="1">11/10/2014 1400 Tuesday</td></tr>

so, should I have dates in such format in my 'dates' file:
rowspan="1">1/10/2014
rowspan="1">12/10/2014

do I need to quote/escape the '>' in the text, how?
or is there a better way to deal with this?

thanks
V

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to