Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Apr 2009 22:53:10 +0200
From:      "Len Conrad" <lconrad@Go2France.com>
To:        <freebsd-questions@freebsd.org>
Subject:   (no subject)
Message-ID:  <200904082253.AA2466447562@mail.Go2France.com>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904082253.AA2466447562>