On Sat, 4 Jul 2015, Pete Lancashire wrote: > $ cat p | egrep -cE '^P[[:digit:]]{5}' > 4 [rshepard at salmo ~]$ cat p | egrep -cE '^P[[:digit:]]{5}' hrwq.dat cat: p: No such file or directory 0 [rshepard at salmo ~]$ cat hrwq.dat | egrep -cE '^P[[:digit:]]{5}' 0 Still no joy. Let's let it rest. Thanks, Pete, Rich