From owner-freebsd-questions@FreeBSD.ORG Wed Apr 8 21:16:25 2009 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 EC177106566C for ; Wed, 8 Apr 2009 21:16:25 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id B3B5A8FC1D for ; Wed, 8 Apr 2009 21:16:25 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 20B49471868 for ; Wed, 8 Apr 2009 23:16:28 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 68E063865BA for ; Wed, 8 Apr 2009 23:16:28 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Wed, 8 Apr 2009 23:00:49 +0200 Message-Id: <200904082300.AA2469003466@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 21:16:26 -0000 We need to print a line when the 3rd field (with trailing ";" delimiter) is, eg, exactly 5 lower case characters awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file ... doesn't work. Suggestions? thanks Len