(no subject)

Len Conrad lconrad at Go2France.com
Wed Apr 8 14:16:26 PDT 2009


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 


More information about the freebsd-questions mailing list