summaryrefslogtreecommitdiff
path: root/bin/sh/options.c
AgeCommit message (Expand)Author
2024-11-20sh(1): -l is only valid in cli option not as set -lBaptiste Daroussin
2024-11-20sh(1): add -l optionBaptiste Daroussin
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-08-20sh: accept fc options grouped behind one '-'Piotr Pawel Stefaniak
2021-09-23sh: Add -o verify to use O_VERIFY when sourcing scriptsStephane Rochoy
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-07-18sh: Remove broken #ifdef NOHACK code (related to sh -c).Jilles Tjoelker
2017-05-06sh: Update TOUR and comments for some code changes, some of them old.Jilles Tjoelker
2017-04-22sh: Simplify setinteractive().Jilles Tjoelker
2017-02-28Renumber copyright clause 4Warner Losh
2016-03-09sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'.Jilles Tjoelker
2016-01-19sh: Simplify some code related to positional parameters.Jilles Tjoelker
2016-01-07sh: Reduce size of options table.Jilles Tjoelker
2015-08-29sh: Add set -o nolog.Jilles Tjoelker
2015-08-14sh: When setting option via long name, don't go via letter.Jilles Tjoelker
2015-03-01sh: Fix more compiler warnings.Jilles Tjoelker
2014-10-26sh: Make getopts memory-safe if with changing arguments.Jilles Tjoelker
2014-05-10sh: In getopts, unset OPTARG where POSIX says we should.Jilles Tjoelker
2014-05-10sh: Don't discard getopts state on unknown option or missing argument.Jilles Tjoelker
2014-05-09sh: Send getopts error messages to stderr, not stdout.Jilles Tjoelker
2014-05-09sh: Add more necessary INTOFF/INTON.Jilles Tjoelker
2012-09-08sh: Remove XXX comment about removing nextopt().Jilles Tjoelker
2011-11-20sh: Allow unsetting OPTIND.Jilles Tjoelker
2011-06-13sh: Fix duplicate prototypes for builtins.Jilles Tjoelker
2011-06-04sh: Improve error message if the script cannot be opened.Jilles Tjoelker
2011-04-25sh: Check setuid()/setgid() return values.Jilles Tjoelker
2011-04-25sh: Remove duplicate code resetting uid/gid for set +p/+o privileged.Jilles Tjoelker
2011-02-04sh: Remove special code for shell scripts without magic number.Jilles Tjoelker
2010-11-20sh: Code size optimizations to buffered output.Jilles Tjoelker
2010-10-13In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien
2010-04-05sh: Automatically enable -o emacs in interactive shells with terminals.Jilles Tjoelker
2009-12-27sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker
2009-12-24sh: Constify various strings.Jilles Tjoelker
2008-08-27Fix a bug in r177497 which caused the getopts state to be reset when 'set'Stefan Farfeleder
2008-03-22Reset the internal state used for the 'getopts' built-in when 'shift' or 'set'Stefan Farfeleder
2006-04-09Implement some of the differences between special built-ins and other builtinsStefan Farfeleder
2005-10-29Include disabled options in the output of 'set +o'. POSIX says the output ofStefan Farfeleder
2005-05-16A second attempt to adjust option-parsing on a shell command, for theGarance A Drosehn
2005-02-16Change /bin/sh so *it* implements the processing needed for scripts toGarance A Drosehn
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-05-25Implement `set +o', which displays the currently set options in a formatTim J. Robbins
2002-04-22Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav
2002-02-02o __P has been reovedWarner Losh
2000-04-20Fix warnings, some of them serious because sh violated nameMartin Cracauer
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1998-05-18Add rcsid. Spelling.Philippe Charnier
1997-04-28Avoid a possible NULL pointer dereference, nuke register usage,Steve Price