Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Apr 2009 23:00:49 +0200
From:      "Len Conrad" <lconrad@Go2France.com>
To:        <freebsd-questions@freebsd.org>
Subject:   (no subject)
Message-ID:  <200904082300.AA2469003466@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?200904082300.AA2469003466>