Date: Thu, 23 Sep 2010 19:21:49 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/expr expr.1 Message-ID: <201009231922.o8NJM6ce050916@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2010-09-23 19:21:49 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
bin/expr expr.1
Log:
SVN rev 213082 on 2010-09-23 19:21:49Z by jilles
MFC r212390: expr(1): Add sh(1) versions of examples, remove an incorrect
example.
The three examples are better done using sh(1) itself these days.
The example
expr -- "$a" : ".*"
is incorrect in the general case, as "$a" may be an operator.
Revision Changes Path
1.29.2.1 +21 -10 src/bin/expr/expr.1
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009231922.o8NJM6ce050916>
