On Sat, 4 Jul 2015, Pete Lancashire wrote: > Don't use the back slash, and use single quotes to force all the > expression to go to egrep directiy Pete, First I tried without the backslashes but my reading of the man page caused me to try. Didn't work either way. $ grep -ce '^P[[:digit:]]{5}' hrwq.dat $ 0 It's hot here, too -- no A/C. Thanks, Rich