<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/expr, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-12-11T12:40:54Z</updated>
<entry>
<title>Revert r244108. yyparse() declaration isn't redundant in stable/9.</title>
<updated>2012-12-11T12:40:54Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-12-11T12:40:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a08b10dc16ac317305f7eb5351a2d28c1b92ea86'/>
<id>urn:sha1:a08b10dc16ac317305f7eb5351a2d28c1b92ea86</id>
<content type='text'>
Reported by:	tinderbox :)
</content>
</entry>
<entry>
<title>MFC r235771:</title>
<updated>2012-12-11T02:40:01Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-12-11T02:40:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc97d1b6299aae0bdeddb6731f30feb26f8d52ef'/>
<id>urn:sha1:cc97d1b6299aae0bdeddb6731f30feb26f8d52ef</id>
<content type='text'>
Remove redundant declaration of yyparse.

Reported by:	tinderbox
</content>
</entry>
<entry>
<title>MFC r232157, r232158:</title>
<updated>2012-04-26T20:11:57Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-04-26T20:11:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2082345d1e9c8ea29ecb1f51e635def437fefbe0'/>
<id>urn:sha1:2082345d1e9c8ea29ecb1f51e635def437fefbe0</id>
<content type='text'>
r232157:
  Fix various typos in manual pages.

  Submitted by: amdmi3
  PR:           165431

r232158:
  Whitespace cleanup:
    o Wrap sentences on to new lines
    o Cleanup trailing whitespace
</content>
</entry>
<entry>
<title>Fix style, since this file has just been touched in a major way.</title>
<updated>2011-07-09T12:20:15Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2011-07-09T12:20:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=69759f0829c3274f38a92f0a956b324c5bc9e908'/>
<id>urn:sha1:69759f0829c3274f38a92f0a956b324c5bc9e908</id>
<content type='text'>
No actual code changes.
</content>
</entry>
<entry>
<title>Some refactoring for easier maintenance of the code. This is a follow-up</title>
<updated>2011-07-09T12:14:57Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2011-07-09T12:14:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fbe7bf4f28203afb9f07af23d6beb21c3db34a4'/>
<id>urn:sha1:6fbe7bf4f28203afb9f07af23d6beb21c3db34a4</id>
<content type='text'>
to re-establishment of 64bit arithmetic, but is committed separately, to
not obscure that conversion. This commit does not change the observed
behaviour of expr in any way. Style will be fixed in a follow-up commit.
</content>
</entry>
<entry>
<title>Make /bin/expr support 64bit numeric range and range checks by default,</title>
<updated>2011-07-09T12:05:53Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2011-07-09T12:05:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa717604a42dff3416a3e299da0abf01d9f8521e'/>
<id>urn:sha1:fa717604a42dff3416a3e299da0abf01d9f8521e</id>
<content type='text'>
again. This brings back the behaviour of expr in FreeBSD-4, which had been
reverted due to an assumed incompatbility with POSIX.1 for FreeBSD-5.

This issue has been discussed in the freebsd-standards list, and the
consensus was, that POSIX.1 is in fact not violated by this extension,
since it affects only cases of POSIX undefined behaviour (overflow of
signed long).

Other operating systems did upgrade their versions of expr to support
64bit range, after it had been initially brought to FreeBSD. They have
used it for a decade without problems, meanwhile.

The -e option is retained, but it will only select less strict checking
of numeric parameters (leading white-space, leading "+" are allowed and
skipped, an empty string is considered to represent 0 in numeric context.)
The call of check_utility_compat() as a means of establishing backwards
compatibility with FreeBSD-4 is considered obsolete, but preserved in
this commit. It is expected to be removed in a later revision of this
file.
Reviewed by:	bde, das, jilles
MFC after:	2 month (those parts that do not violate POLA)
</content>
</entry>
<entry>
<title>expr(1): Add sh(1) versions of examples, remove an incorrect example.</title>
<updated>2010-09-09T21:59:53Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-09-09T21:59:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f390d8d927e2bc6a8afd086bfdcdbf5edcbc6875'/>
<id>urn:sha1:f390d8d927e2bc6a8afd086bfdcdbf5edcbc6875</id>
<content type='text'>
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.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix markup.</title>
<updated>2007-03-04T19:52:07Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2007-03-04T19:52:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f3cef91087c68f23d917212fc7b88e7c266feef'/>
<id>urn:sha1:9f3cef91087c68f23d917212fc7b88e7c266feef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct typos containing my login name (plus one more in expr.y).</title>
<updated>2007-02-18T19:48:59Z</updated>
<author>
<name>Ceri Davies</name>
<email>ceri@FreeBSD.org</email>
</author>
<published>2007-02-18T19:48:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1854a84ad9fb9b70e1b9ca134d93251ec9a0070'/>
<id>urn:sha1:e1854a84ad9fb9b70e1b9ca134d93251ec9a0070</id>
<content type='text'>
Found courtesy of a recursive grep in the wrong directory.
</content>
</entry>
<entry>
<title>Add the new standard EXIT STATUS section where appropriate.</title>
<updated>2005-01-16T16:41:59Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-16T16:41:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581'/>
<id>urn:sha1:6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581</id>
<content type='text'>
Sort standard sections in the (documented) preferred order.
</content>
</entry>
</feed>
