aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
Commit message (Expand)AuthorAgeFilesLines
* sh: Fix compiler warnings related to duplicate or missing declarations.Jilles Tjoelker2015-03-015-7/+6
* Fix unitialized variable that broke sh on PowerPC starting with r278826.Nathan Whitehorn2015-02-261-1/+1
* sh: Add details about importing the environment and initializing OPTIND.Jilles Tjoelker2015-02-221-7/+14
* sh: Various cleanups to expand.c:Jilles Tjoelker2015-02-151-60/+55
* sh: Prefer "" to nullstr where possible.Jilles Tjoelker2015-02-158-9/+8
* sh: Add stsavestr(), like savestr() but allocates using stalloc().Jilles Tjoelker2015-02-154-12/+16
* sh: Add simple tests for globbing/splitting command substitution.Jilles Tjoelker2015-02-153-0/+9
* sh: Abort a wait builtin on any trapped signal.Jilles Tjoelker2015-01-312-5/+6
* sh: Move some code from onint() to onsig(), making onint() noreturn.Jilles Tjoelker2014-12-214-21/+21
* sh: Remove EXP_REDIR.Jilles Tjoelker2014-12-213-15/+8
* sh: Make sure output suitable as shell input is also printable.Jilles Tjoelker2014-12-143-22/+76
* sh: Remove special case for '=' in set -x; always quote it in outqstr().Jilles Tjoelker2014-11-302-11/+2
* Convert bin/ to LIBADD, reduce overlinking allow to build all components asBaptiste Daroussin2014-11-251-2/+1
* sh: Prepend "$0: " to error messages if there is no command name.Jilles Tjoelker2014-11-222-0/+4
* sh: Use DQSYNTAX only while expanding, not SQSYNTAX.Jilles Tjoelker2014-11-221-1/+1
* sh(1): Add/improve information about exit status of commands.Jilles Tjoelker2014-11-141-10/+24
* sh(1): Mention portability issue with shifting zero positional parameters.Jilles Tjoelker2014-11-071-2/+3
* sh: Fix corruption of CTL* bytes in positional parameters in redirection.Jilles Tjoelker2014-10-313-1/+28
* Treat IFS separators in "$*" as quoted.Jilles Tjoelker2014-10-284-5/+25
* sh: Make getopts memory-safe if with changing arguments.Jilles Tjoelker2014-10-265-6/+39
* sh: Allow backslash-newline continuation in more places:Jilles Tjoelker2014-10-1910-32/+156
* sh: Add some tests for backslash-newline continuation.Jilles Tjoelker2014-10-174-0/+30
* sh: Make parseredir() a proper function instead of an emulated nestedJilles Tjoelker2014-10-151-59/+58
* sh: Remove more gotos.Jilles Tjoelker2014-10-153-73/+86
* sh: Fix break/continue/return in multiline eval.Jilles Tjoelker2014-10-124-0/+20
* sh: Eliminate some gotos.Jilles Tjoelker2014-10-055-56/+43
* sh: Fix LINENO and prompt after $'\0 and newline.Jilles Tjoelker2014-10-034-0/+16
* sh(1): Clarify that assignments before commands do not affect expansions.Jilles Tjoelker2014-09-211-2/+3
* sh: Remove arbitrary length limit on << EOF markers.Jilles Tjoelker2014-09-145-49/+65
* sh: Make checkend() a real function instead of an emulated nested function.Jilles Tjoelker2014-09-141-36/+39
* sh: Add some const keywords.Jilles Tjoelker2014-09-143-3/+3
* sh: Allow enabling job control without a tty in non-interactive mode.Jilles Tjoelker2014-09-042-14/+47
* sh: Remove two redundant (uintmax_t) casts.Jilles Tjoelker2014-08-201-3/+2
* sh: Avoid overflow in atoi() when parsing HISTSIZE.Jilles Tjoelker2014-08-171-2/+3
* sh: Reject integer overflow in number and is_number.Jilles Tjoelker2014-08-171-3/+11
* sh: Don't hardcode relative paths in the tests stderr files.Jilles Tjoelker2014-08-1711-17/+11
* sh: Mask off shift distance (<< and >>) in arithmetic.Jilles Tjoelker2014-08-153-2/+44
* Convert bin/sh/tests to ATFEnji Cooper2014-08-1315-82/+127
* sh: Allow arbitrarily large numbers in break and continue.Jilles Tjoelker2014-07-203-1/+18
* sh: Remove prefix() function. Use strncmp() instead.Jilles Tjoelker2014-07-204-18/+5
* sh: Deduplicate some code in ulimit builtin.Jilles Tjoelker2014-07-191-27/+25
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
* sh: Correctly handle positional parameters beyond INT_MAX on 64-bit systems.Jilles Tjoelker2014-07-123-2/+19
* sh: Consistently treat ${01} like $1.Jilles Tjoelker2014-07-123-7/+11
* sh: Add test for ${01} and ${010} that already works.Jilles Tjoelker2014-07-082-0/+5
* Don't install locale1.0 if MK_NLS == no.Jilles Tjoelker2014-07-081-0/+2
* sh: Fix overflow checking on 'ulimit' operand.Jilles Tjoelker2014-07-051-10/+14
* sh: Avoid undefined behaviour shifting negative values left in arithmetic.Jilles Tjoelker2014-06-011-1/+1
* sh: Simplify find_command() slightly.Jilles Tjoelker2014-05-311-7/+5
* sh: In getopts, unset OPTARG where POSIX says we should.Jilles Tjoelker2014-05-104-13/+26