From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 05:03:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB5B416A417 for ; Mon, 30 Jul 2007 05:03:56 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.dca.untd.com (outbound-mail.dca.untd.com [64.136.47.15]) by mx1.freebsd.org (Postfix) with SMTP id 7EAB213C468 for ; Mon, 30 Jul 2007 05:03:56 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from webmail09.dca.untd.com (webmail09.dca.untd.com [10.171.12.149]) by smtpout01.dca.untd.com with SMTP id AABDL44Y9A2EUX9J for (sender ); Sun, 29 Jul 2007 21:36:47 -0700 (PDT) X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRPuWD5WWLmVXmjp5A5OSo3Fp8cXJ6Sbolg== Received: (from gs_stoller@juno.com) by webmail09.dca.untd.com (jqueuemail) id MTVDM3AQ; Sun, 29 Jul 2007 21:36:39 PDT Received: from [71.251.0.101] by webmail09.dca.untd.com with HTTP: Mon, 30 Jul 2007 04:35:40 GMT X-Originating-IP: [71.251.0.101] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Mon, 30 Jul 2007 04:35:40 GMT To: peter@boosten.org, ulrich@pukruppa.net, don.hinton@vanderbilt.edu, martin@dc.cis.okstate.edu X-Mailer: Webmail Version 4.0 Message-Id: <20070730.003540.23646.0@webmail09.dca.untd.com> Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain X-ContentStamp: 2:1:2382128850 X-UNTD-Peer-Info: 10.171.12.149|webmail09.dca.untd.com|webmail09.dca.untd.com|gs_stoller@juno.com Cc: freebsd-questions@freebsd.org Subject: Re: awk question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 05:03:56 -0000 Just add a filter = NF > 2 to the script. You can even take care of 1 token lines and empty lines in whatever way you wish with other filters.