<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/expr/expr.1, branch release/14.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:10Z</updated>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>urn:sha1:fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>Document origins of expr &amp; authors</title>
<updated>2016-10-05T19:26:35Z</updated>
<author>
<name>Sevan Janiyan</name>
<email>sevan@FreeBSD.org</email>
</author>
<published>2016-10-05T19:26:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5ca929f63a24cbd9907c8d920789d474ee44cc7'/>
<id>urn:sha1:c5ca929f63a24cbd9907c8d920789d474ee44cc7</id>
<content type='text'>
http://minnie.tuhs.org/cgi-bin/utree.pl?file=PWB1/usr/man/man1/expr.1

PR:		173979
Approved by:	bcr (mentor)
MFC after:	5 days
Differential Revision:	https://reviews.freebsd.org/D8104
</content>
</entry>
<entry>
<title>Pet manlint</title>
<updated>2015-04-26T10:38:26Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-04-26T10:38:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc814fa48b73d159f07606ae13c9da53750c64ae'/>
<id>urn:sha1:dc814fa48b73d159f07606ae13c9da53750c64ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use mdoc(7) macros for curly braces</title>
<updated>2015-04-26T10:09:26Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-04-26T10:09:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef2a65a8bd6a4d57f8b9cb47e1953b443c4a98bd'/>
<id>urn:sha1:ef2a65a8bd6a4d57f8b9cb47e1953b443c4a98bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Minor mdoc nits.</title>
<updated>2012-05-13T14:16:04Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2012-05-13T14:16:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=35471bf8efcf9696126e98ded2084c1f23beb56e'/>
<id>urn:sha1:35471bf8efcf9696126e98ded2084c1f23beb56e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace cleanup:</title>
<updated>2012-02-25T15:21:43Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-02-25T15:21:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d496f5ab6b6e7a42cff27ae932a324c6e420fdb'/>
<id>urn:sha1:9d496f5ab6b6e7a42cff27ae932a324c6e420fdb</id>
<content type='text'>
 o Wrap sentences on to new lines
 o Cleanup trailing whitespace

Found with:	textproc/igor
MFC after:	1 week
X-MFC-With:	r232157
</content>
</entry>
<entry>
<title>Fix various typos in manual pages.</title>
<updated>2012-02-25T14:31:25Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2012-02-25T14:31:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3102cfe2e21aaea969dcc5245c0b70d9ae643e34'/>
<id>urn:sha1:3102cfe2e21aaea969dcc5245c0b70d9ae643e34</id>
<content type='text'>
Submitted by:	amdmi3
PR:		165431
MFC after:	1 week
</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>
</feed>
