Autzoo.1551
net.bugs.v7
utzoo!henry
Tue Apr 13 20:06:33 1982
expr(1) misfeature
Expr's : operator (pattern match), unlike every other pattern-matching
facility in Unix, insists on matching the WHOLE string or failing.  This
inconsistency trips up everyone who tries to use the @#$% thing for the
first time.  There is no reason for it;  expr could use the ^$ convention
for anchored matching the same way awk does.  Is there some reason for
this botch?

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.