I have a basic script that includes an exit on a date month condition,
like so:
/snip/
grep -q '07/2014' part2 && exit 0
/snip/
I would like to add multiple additional non consecutive individual day
date conditions, like say, 15/06/2014, 20/06, 25/06, like so;
grep -q '07/2014' part2 && exit 0
grep -q '15/06/2014' part2 && exit 0
grep -q '20/06/2014' part2 && exit 0
grep -q '25/06/2014' part2 && exit 0
I guess that would work OK, but, what's a good way to put all '06' entries
in a single grep, egrep or how?
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