> I would recommend egrep and use the following extended regular
> expression:
>
>
> egrep -o '[0-9]{2}/[0-9]{2}/[0-9]{4}[[:space:]][0-9]{4}'Rick, Jiri, many thanks, I'm trying to get this done; egrep works good, I was trying to shortcut date comparison thing by converting to seconds, BUT, hit a snag as my system is set to: # set | grep LANG LANG=en_US.UTF-8 # date --date='20/03/2014' +"%s" date: invalid date `20/03/2014' # date --date='03/20/2014' +"%s" 1395234000 which I think means assumed format is mm dd yy ? where should I change it to en_au ? redhat > Of course, all of this would be much easier to code in python, perl or > ruby. I'll look at that next time, thanks -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
