NetBSD/bin/sh
kre bffe519047 Re-factor the code that extracts status from exited jobs, avoiding
code duplication, and reducing the size of /bin/sh by a trivial amount.

NFCI.

This is being done now as there are two other changes forthcoming, both
of which benefit - one would result in even more code duplication without
this, the other might need to alter how this is done, and doing it after this
means there's just one place to change (if required).
2017-10-19 01:57:18 +00:00
..
USD.doc
bltin Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
funcs delete clauses 3,4 2016-02-29 23:50:59 +00:00
Makefile Implement a bunch of new shell environment variables. many mostly useful 2017-06-30 23:05:45 +00:00
TOUR Fix grammar in couple of sentences. 2016-10-25 13:01:59 +00:00
alias.c PR bin/52348 2017-07-24 12:34:45 +00:00
alias.h
arith_token.c Add support for ++ and -- (pre & post) and ',' to arithmetic. 2017-07-24 13:21:14 +00:00
arith_tokens.h Add support for ++ and -- (pre & post) and ',' to arithmetic. 2017-07-24 13:21:14 +00:00
arithmetic.c Add support for ++ and -- (pre & post) and ',' to arithmetic. 2017-07-24 13:21:14 +00:00
arithmetic.h A better LINENO implementation. This version deletes (well, #if 0's out) 2017-06-07 05:08:32 +00:00
builtins.def DEBUG mode shell update (changes nothing for shells which are not 2017-05-15 20:00:36 +00:00
cd.c DEBUG only changes. Convert the TRACE() calls in the remaining files 2017-07-05 20:00:27 +00:00
cd.h
error.c PR bin/52348 2017-07-24 12:35:12 +00:00
error.h
eval.c DEBUG only changes (non-debug, ie: normal, shell unaffected) 2017-09-29 17:53:57 +00:00
eval.h PR bin/48875 - avoid holding (replaced) file descriptors open when running a 2016-05-09 21:03:10 +00:00
exec.c DEBUG changes: convert DEBUG TRACE() calls to new format. 2017-07-05 19:58:10 +00:00
exec.h A better LINENO implementation. This version deletes (well, #if 0's out) 2017-06-07 05:08:32 +00:00
expand.c Three fixes and a change to ~ expansions 2017-10-06 21:09:45 +00:00
expand.h A better LINENO implementation. This version deletes (well, #if 0's out) 2017-06-07 05:08:32 +00:00
histedit.c Now libedit supports embedded mode switch sequence, improve sh 2017-06-28 13:46:06 +00:00
init.h
input.c NFC - DEBUG mode change only - add some sanity to a debug printf format string 2017-08-19 21:13:11 +00:00
input.h Implement PS1, PS2 and PS4 expansions (variable expansions, arithmetic 2017-06-30 23:02:56 +00:00
jobs.c Re-factor the code that extracts status from exited jobs, avoiding 2017-10-19 01:57:18 +00:00
jobs.h
machdep.h
mail.c If we are going to keep the MAILPATH % hack, then at least do something 2017-06-04 20:28:13 +00:00
mail.h
main.c DEBUG only changes. Convert the TRACE() calls in the remaining files 2017-07-05 20:00:27 +00:00
main.h
memalloc.c Many internal memory management type fixes. 2017-06-17 07:22:12 +00:00
memalloc.h Many internal memory management type fixes. 2017-06-17 07:22:12 +00:00
miscbltin.c Fix inconsistent whitespace 2017-05-13 15:03:34 +00:00
miscbltin.h
mkbuiltins
mkinit.sh General KNF and source code cleanups, avoid scattering the 2016-03-27 14:34:46 +00:00
mknodenames.sh It is amazing what nonsense appears to work sometimes... (all my nonsense too!) 2017-06-19 11:55:07 +00:00
mknodes.sh
mkoptions.sh Make $- list flags in the same order they appear in sh(1) 2017-07-01 06:14:51 +00:00
mktokens Add a comment explaining the ordering reltionship of the tokens 2017-07-26 03:46:54 +00:00
myhistedit.h Now libedit supports embedded mode switch sequence, improve sh 2017-06-28 13:46:06 +00:00
mystring.c
mystring.h
nodes.c.pat
nodetypes Remove some left over baggage from the LINENO v1 implementation that 2017-06-08 13:12:17 +00:00
option.list Implement the "pipefail" option (same semantics as in other shells) 2017-07-24 14:17:11 +00:00
options.c PR standards/52406 2017-07-24 12:35:37 +00:00
options.h Arrange for set -o and $- output to be sorted, rather than more 2017-05-28 00:38:01 +00:00
output.c Added comma and plus to the "don't need quoting" set. This affects 2017-05-18 13:31:10 +00:00
output.h
parser.c Add support for $'...' quoting (based upon C "..." strings, with \ expansions.) 2017-08-21 13:20:49 +00:00
parser.h Add support for $'...' quoting (based upon C "..." strings, with \ expansions.) 2017-08-21 13:20:49 +00:00
redir.c Include redirections in trace output from "set -x" 2017-06-30 23:01:21 +00:00
redir.h Include redirections in trace output from "set -x" 2017-06-30 23:01:21 +00:00
sh.1 Fix typo: s/one or mode/one or more/ 2017-10-15 12:01:43 +00:00
shell.h NFC: DEBUG mode change - add a couple more TRACE macros to allow for 2017-07-26 03:44:43 +00:00
show.c NFC: DEBUG only change - provide an externally visible (to the DEBUG sh 2017-06-30 23:00:40 +00:00
show.h NFC: DEBUG only change - provide an externally visible (to the DEBUG sh 2017-06-30 23:00:40 +00:00
syntax.c Add support for $'...' quoting (based upon C "..." strings, with \ expansions.) 2017-08-21 13:20:49 +00:00
syntax.h Add support for $'...' quoting (based upon C "..." strings, with \ expansions.) 2017-08-21 13:20:49 +00:00
trap.c DEBUG and white space changes only. Convert TRACE() calls for DEBUg mode 2017-07-05 19:47:11 +00:00
trap.h report the signal that wait was interrupted by, which is not always SIGINT 2015-08-22 12:12:47 +00:00
var.c Fix a bug noticed by Soren Jacobsen running the netbsd-6-0 build.sh which 2017-08-31 05:09:38 +00:00
var.h Implement a bunch of new shell environment variables. many mostly useful 2017-06-30 23:05:45 +00:00
version.h replace with standard copyright :-) 2016-03-31 16:28:23 +00:00