From owner-freebsd-questions@FreeBSD.ORG Wed Apr 8 21:08:47 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 1D869106564A for ; Wed, 8 Apr 2009 21:08:47 +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 D92648FC12 for ; Wed, 8 Apr 2009 21:08:46 +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 112884718F8 for ; Wed, 8 Apr 2009 23:08:49 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 5897B3865B6 for ; Wed, 8 Apr 2009 23:08:49 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Wed, 8 Apr 2009 22:53:10 +0200 Message-Id: <200904082253.AA2466447562@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:08:47 -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