[PLUG] egrep syntax correction

Rich Shepard rshepard at appl-ecosys.com
Sun Jul 5 00:29:46 UTC 2015


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



More information about the PLUG mailing list