<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/less, branch releng/10.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Note that the manual page of less(1) says:</title>
<updated>2012-12-03T21:49:37+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-12-03T21:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=266ab5afbc6791f8ad90791f99066c6a29e21593'/>
<id>266ab5afbc6791f8ad90791f99066c6a29e21593</id>
<content type='text'>
  Note  that  a preprocessor cannot output an empty file, since that
  is interpreted as meaning there is no replacement, and the  origi-
  nal file is used.  To avoid this, if LESSOPEN starts with two ver-
  tical bars, the exit status of the script becomes meaningful.   If
  the  exit  status is zero, the output is considered to be replace-
  ment text, even if it empty.  If the exit status is  nonzero,  any
  output  is ignored and the original file is used.  For compatibil-
  ity with previous versions of less, if LESSOPEN starts  with  only
  one vertical bar, the exit status of the preprocessor is ignored.

Use two pipe symbols for zless, so that zless'ing a compressed empty
file will give output rather than being interpreted as its compressed
form, which is typically a binary.

Thanks Mark Nudelman for pointing out this difference and the
suggested solution.

Reported by:	Matthias Meyser &lt;meyser xenet.de&gt;
PR:		bin/168839
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Note  that  a preprocessor cannot output an empty file, since that
  is interpreted as meaning there is no replacement, and the  origi-
  nal file is used.  To avoid this, if LESSOPEN starts with two ver-
  tical bars, the exit status of the script becomes meaningful.   If
  the  exit  status is zero, the output is considered to be replace-
  ment text, even if it empty.  If the exit status is  nonzero,  any
  output  is ignored and the original file is used.  For compatibil-
  ity with previous versions of less, if LESSOPEN starts  with  only
  one vertical bar, the exit status of the preprocessor is ignored.

Use two pipe symbols for zless, so that zless'ing a compressed empty
file will give output rather than being interpreted as its compressed
form, which is typically a binary.

Thanks Mark Nudelman for pointing out this difference and the
suggested solution.

Reported by:	Matthias Meyser &lt;meyser xenet.de&gt;
PR:		bin/168839
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build with clang: properly terminate comment even in #if 0 blocks.</title>
<updated>2012-11-05T17:42:50+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-11-05T17:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=417a0a79d787f86fe7484a994eed189e201f6bcf'/>
<id>417a0a79d787f86fe7484a994eed189e201f6bcf</id>
<content type='text'>
Submitted by:	dim
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	dim
</pre>
</div>
</content>
</entry>
<entry>
<title>MFV: less v453.</title>
<updated>2012-11-04T20:52:26+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-11-04T20:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cc5fc9a0c04cf870021cb1b68364f9c20bcdfc6'/>
<id>4cc5fc9a0c04cf870021cb1b68364f9c20bcdfc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFV: less v449.</title>
<updated>2012-06-26T23:17:33+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-06-26T23:17:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96e55cc72dd4e73f9c43872899beb615aeeed4b6'/>
<id>96e55cc72dd4e73f9c43872899beb615aeeed4b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Regenerated with latest configure script.</title>
<updated>2011-05-10T01:05:41+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2011-05-10T01:05:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5187751e0018ab6f6bdf99da792bc092393854a0'/>
<id>5187751e0018ab6f6bdf99da792bc092393854a0</id>
<content type='text'>
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>Import of liblzma, xz, xzdec, lzmainfo from vendor branch</title>
<updated>2010-05-10T06:59:50+00:00</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2010-05-10T06:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=81ad83880dcc267b198c781929dd9a009f98c5f7'/>
<id>81ad83880dcc267b198c781929dd9a009f98c5f7</id>
<content type='text'>
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by:	delphij (mentor)
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by:	delphij (mentor)
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Build usr.bin/ with WARNS=6 by default.</title>
<updated>2010-01-02T10:27:05+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b7946da96b4498519f66f3f5fe72d1474bf13f7d'/>
<id>b7946da96b4498519f66f3f5fe72d1474bf13f7d</id>
<content type='text'>
Also add some missing $FreeBSD$ to keep svn happy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add some missing $FreeBSD$ to keep svn happy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update less to v436.  This is considered as a bugfix release from vendor.</title>
<updated>2009-07-29T09:20:32+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-07-29T09:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f0be0a1f8cefbdf5995fe43823d8d8f20f7dcd97'/>
<id>f0be0a1f8cefbdf5995fe43823d8d8f20f7dcd97</id>
<content type='text'>
Major changes from v429:
 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
 * Allow a fraction as the argument to the -# (--shift) option.
 * Fix highlight bug when underlined/overstruck text matches at end of line.
 * Fix non-regex searches with ctrl-R.

Approved by:	re (kensmith, kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Major changes from v429:
 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
 * Allow a fraction as the argument to the -# (--shift) option.
 * Fix highlight bug when underlined/overstruck text matches at end of line.
 * Fix non-regex searches with ctrl-R.

Approved by:	re (kensmith, kib)
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve conflicts; Update defines.h to reflect latest change.</title>
<updated>2007-11-16T22:24:31+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2007-11-16T22:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=423c5ce59da5ff73403007fefb307b8b483cac19'/>
<id>423c5ce59da5ff73403007fefb307b8b483cac19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Regen.</title>
<updated>2007-06-04T01:43:25+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2007-06-04T01:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a1f2804141f305b8d22689cfc4857b87a791e299'/>
<id>a1f2804141f305b8d22689cfc4857b87a791e299</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
