[svlug] extended grep reg exp

Mark Nakamura masayang at nri.com
Tue Aug 12 13:33:32 PDT 2003


At Tue, 12 Aug 2003 13:21:03 -0700,
Robert Khachikyan wrote:
> i thought 'egrep -E 39[18403-28404] file' would do, but
> it comes back with no match...

It should be like 'grep 39[12][0-9][0-9][0-9][0-9] file'.

Perl or awk gru will give you right answer :-)

Mark Nakamura




More information about the svlug mailing list