Date: Tue, 9 Apr 2002 09:34:54 -0700 (PDT) From: ann kok <annkok2001@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: awk question Message-ID: <20020409163454.55611.qmail@web20107.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi all
I have the following data in a file
2002-06-07 brian
2003-04-25 ann
How do I compare the first colum 'date format'
Didn't work the follow!
awk '{if($1 > 2003-01-01) print $0}'
Thank you
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020409163454.55611.qmail>
