[PLUG] egrep syntax correction

Rich Shepard rshepard at appl-ecosys.com
Sat Jul 4 23:42:43 UTC 2015


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



More information about the PLUG mailing list