From owner-freebsd-questions Tue Apr 9 9:34:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20107.mail.yahoo.com (web20107.mail.yahoo.com [216.136.226.44]) by hub.freebsd.org (Postfix) with SMTP id B158D37B416 for ; Tue, 9 Apr 2002 09:34:54 -0700 (PDT) Message-ID: <20020409163454.55611.qmail@web20107.mail.yahoo.com> Received: from [24.100.124.207] by web20107.mail.yahoo.com via HTTP; Tue, 09 Apr 2002 09:34:54 PDT Date: Tue, 9 Apr 2002 09:34:54 -0700 (PDT) From: ann kok Subject: awk question To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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