grep 'RE botch' error
John Sloan
jsloan at wright.EDU
Sat Aug 23 05:20:30 AEST 1986
> > grep '[' file
> >
> > gives a 'RE botch' error on our VAX-750 running 4.2BSD.
> >Narendra Mehta,
> That's not a bug, '[' is special to grep, try '\[' to escape it.
> -Barry Shein, Boston University
There is still a bug though: while [ is a special pattern operator to grep,
a single [ as in the example causes my 4.2BSD grep to go into a loop issuing
the "RE botch" error over and over. So while the error message is legitimate,
the ungraceful nonrecovery is not.
--
------------------------------------------------------------------------
John Sloan CSNET: jsloan at WRIGHT.EDU
Wright State University USENET: ...!cbosgd!wright!jsloan
Computer Science and Engineering ARPANET: jsloan%wright at CSNET-RELAY
Dayton, OH 45435 DECNET LAN: wright::jsloan
+1 513 873 2491, 2987 SMTP LAN: jsloan at wright
UNIX is a registered trademark of AT&T. Opinions expressed are my own.
"I was a roadie for the Algorithmics on their 1986 Internet Tour"
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list