egrep won't pick fields

Andrew Klossner andrew at frip.gwd.tek.com
Tue Jun 14 08:52:24 AEST 1988


> grep '^........foo' 
> picks up any line which has `foo' in columns 9-11..

True for grep, but egrep will say "Regular expression too long" if
there are six or more periods.  I hope this problem goes away with gre.

  -=- Andrew Klossner   (decvax!tektronix!tekecs!andrew)       [UUCP]
                        (andrew%tekecs.tek.com at relay.cs.net)   [ARPA]



More information about the Comp.unix.wizards mailing list