aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/options.c
Commit message (Expand)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* sh: Remove broken #ifdef NOHACK code (related to sh -c).Jilles Tjoelker2017-07-181-7/+2
* sh: Update TOUR and comments for some code changes, some of them old.Jilles Tjoelker2017-05-061-2/+4
* sh: Simplify setinteractive().Jilles Tjoelker2017-04-221-1/+1
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'.Jilles Tjoelker2016-03-091-3/+3
* sh: Simplify some code related to positional parameters.Jilles Tjoelker2016-01-191-16/+13
* sh: Reduce size of options table.Jilles Tjoelker2016-01-071-17/+20
* sh: Add set -o nolog.Jilles Tjoelker2015-08-291-1/+1
* sh: When setting option via long name, don't go via letter.Jilles Tjoelker2015-08-141-13/+20
* sh: Fix more compiler warnings.Jilles Tjoelker2015-03-011-6/+6
* sh: Make getopts memory-safe if with changing arguments.Jilles Tjoelker2014-10-261-6/+25
* sh: In getopts, unset OPTARG where POSIX says we should.Jilles Tjoelker2014-05-101-13/+12
* sh: Don't discard getopts state on unknown option or missing argument.Jilles Tjoelker2014-05-101-8/+4
* sh: Send getopts error messages to stderr, not stdout.Jilles Tjoelker2014-05-091-2/+2
* sh: Add more necessary INTOFF/INTON.Jilles Tjoelker2014-05-091-0/+4
* sh: Remove XXX comment about removing nextopt().Jilles Tjoelker2012-09-081-4/+0
* sh: Allow unsetting OPTIND.Jilles Tjoelker2011-11-201-2/+3
* sh: Fix duplicate prototypes for builtins.Jilles Tjoelker2011-06-131-0/+1
* sh: Improve error message if the script cannot be opened.Jilles Tjoelker2011-06-041-2/+4
* sh: Check setuid()/setgid() return values.Jilles Tjoelker2011-04-251-2/+4
* sh: Remove duplicate code resetting uid/gid for set +p/+o privileged.Jilles Tjoelker2011-04-251-10/+5
* sh: Remove special code for shell scripts without magic number.Jilles Tjoelker2011-02-041-15/+0
* sh: Code size optimizations to buffered output.Jilles Tjoelker2010-11-201-7/+6
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien2010-10-131-8/+8
* sh: Automatically enable -o emacs in interactive shells with terminals.Jilles Tjoelker2010-04-051-1/+4
* sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker2009-12-271-3/+3
* sh: Constify various strings.Jilles Tjoelker2009-12-241-2/+3
* Fix a bug in r177497 which caused the getopts state to be reset when 'set'Stefan Farfeleder2008-08-271-1/+1
* Reset the internal state used for the 'getopts' built-in when 'shift' or 'set'Stefan Farfeleder2008-03-221-2/+2
* Implement some of the differences between special built-ins and other builtinsStefan Farfeleder2006-04-091-1/+1
* Include disabled options in the output of 'set +o'. POSIX says the output ofStefan Farfeleder2005-10-291-11/+8
* A second attempt to adjust option-parsing on a shell command, for theGarance A Drosehn2005-05-161-1/+20
* Change /bin/sh so *it* implements the processing needed for scripts toGarance A Drosehn2005-02-161-11/+43
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
* Implement `set +o', which displays the currently set options in a formatTim J. Robbins2002-05-251-5/+20
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
* o __P has been reovedWarner Losh2002-02-021-43/+22
* Fix warnings, some of them serious because sh violated nameMartin Cracauer2000-04-201-2/+2
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
* Add rcsid. Spelling.Philippe Charnier1998-05-181-3/+5
* Avoid a possible NULL pointer dereference, nuke register usage,Steve Price1997-04-281-6/+5
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
* Fix a problem caused by finger failure on my part. The builtinSteve Price1996-12-211-3/+7
* Merge in NetBSD mods and -Wall cleaning.Steve Price1996-12-141-32/+109
* Add the -p (privileged) commandline switchSteve Price1996-10-291-1/+10
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is aPeter Wemm1996-09-011-20/+39
* Fix my breakage of the $0 handling during $ENV processing.Joerg Wunsch1995-10-091-2/+2