expr: bug in info-page

Thomas Goerlich <[email protected]> Sun, 22 Sep 2002 20:13:50 +0200
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
hello,

i think i found a minor mistake in the documentation of the "expr"-util.

version of the info-pages:

> This manual documents version 2.0 of the GNU shell utilities.

info page:

> zz-Info: (sh-utils.info.gz)Examples of expr, 27 lines

line 10 says:

 expr $fname : '.*/\(^.*\)' '^|' $fname

this leads to an error message, complaining about the syntax.

IMHO it should say:

 expr $fname : '.*/\(.*\)' '|' $fname

thank you all for the faboulous GNU shell utilties, you're doing a great
job!

thomas