<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/sh/input.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:26Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d497e17ebd33fe0f58d773e35ab994d750258d6'/>
<id>urn:sha1:3d497e17ebd33fe0f58d773e35ab994d750258d6</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</content>
</entry>
<entry>
<title>sh: remove duplicate el definition</title>
<updated>2020-03-28T17:02:32Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-03-28T17:02:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=becf15d7cb88e7ad54acd80cfba91e5ce56e5644'/>
<id>urn:sha1:becf15d7cb88e7ad54acd80cfba91e5ce56e5644</id>
<content type='text'>
el is declared extern in myhistedit.h and defined in histedit.c. Remove the
duplicate definition in input.c to appease the -fno-common build.

-fno-common will become the default in GCC10/LLVM11.

MFC after:	3 days
</content>
</entry>
<entry>
<title>sh: Use 126 and 127 exit status for failures opening a script</title>
<updated>2018-11-27T21:49:59Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2018-11-27T21:49:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77da4a95e81a3d27991a2d2af5a93fcdbd4c7cf7'/>
<id>urn:sha1:77da4a95e81a3d27991a2d2af5a93fcdbd4c7cf7</id>
<content type='text'>
This affects scripts named on the command line, named with a '.' special
builtin and found via the PATH %func autoloading mechanism.

PR:		231986
</content>
</entry>
<entry>
<title>Renumber copyright clause 4</title>
<updated>2017-02-28T23:42:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-02-28T23:42:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fbbd9655e5107c68e4e0146ff22b73d7350475bc'/>
<id>urn:sha1:fbbd9655e5107c68e4e0146ff22b73d7350475bc</id>
<content type='text'>
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann &lt;jschauma@stevens.edu&gt;
Pull Request:	https://github.com/freebsd/freebsd/pull/96
</content>
</entry>
<entry>
<title>sh: Fix set -v and multiline history after r295825.</title>
<updated>2016-02-23T22:44:01Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2016-02-23T22:44:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=84f1891033161f057ede75e5102d4b28c616acee'/>
<id>urn:sha1:84f1891033161f057ede75e5102d4b28c616acee</id>
<content type='text'>
r295825 erroneously dropped the newline from the input data for 'set -v'
output and multiline history.

Reported by:	vangyzen
</content>
</entry>
<entry>
<title>sh: Remove unnecessary flushouts while reading script.</title>
<updated>2016-02-21T16:48:37Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2016-02-21T16:48:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b3c9ccf082864d7eacec9ccfb98603edbf93b5e'/>
<id>urn:sha1:3b3c9ccf082864d7eacec9ccfb98603edbf93b5e</id>
<content type='text'>
Output is flushed when a builtin is done or immediately after writing it
(error messages, set -v output, prompts).
</content>
</entry>
<entry>
<title>sh: Rework code to remove '\0' from shell input.</title>
<updated>2016-02-19T21:53:12Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2016-02-19T21:53:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dcd95d8a010c87b954128824c40a6cb3b28a3688'/>
<id>urn:sha1:dcd95d8a010c87b954128824c40a6cb3b28a3688</id>
<content type='text'>
This fixes bugs where '\0' was not removed correctly and speeds up the
parser.
</content>
</entry>
<entry>
<title>sh: Remove arbitrary length limit on &lt;&lt; EOF markers.</title>
<updated>2014-09-14T16:46:30Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2014-09-14T16:46:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72238faa6a9eea186c68bf9eff53f1999f80f33f'/>
<id>urn:sha1:72238faa6a9eea186c68bf9eff53f1999f80f33f</id>
<content type='text'>
This also simplifies the code.
</content>
</entry>
<entry>
<title>sh: Add some const keywords.</title>
<updated>2014-09-14T15:59:15Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2014-09-14T15:59:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5545fadd845adf3a8884d3d33ab8ce86b101fee4'/>
<id>urn:sha1:5545fadd845adf3a8884d3d33ab8ce86b101fee4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Allow aliases to force alias substitution on the following word.</title>
<updated>2014-01-26T21:19:33Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2014-01-26T21:19:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48f49aac531366b93e207718e2fbc015badb152d'/>
<id>urn:sha1:48f49aac531366b93e207718e2fbc015badb152d</id>
<content type='text'>
If an alias's value ends with a space or tab, the next word is also
checked for aliases.

This is a POSIX feature. It is useful with utilities like command and
nohup (alias them to themselves followed by a space).
</content>
</entry>
</feed>
