summaryrefslogtreecommitdiff
path: root/bin/sh/options.c
AgeCommit message (Expand)Author
2022-09-18Add the -l option (aka -o login): be a login shell. Meaningful only onkre
2022-04-16Avoid generating error messages implying that user errors are illegal.kre
2021-10-26PR bin/56464kre
2020-02-05Oops, the previous didn't do what was promised. Rather that ignoringkre
2020-02-04After bug report 262 (from 2010)kre
2018-07-13Remove atoi()kre
2017-11-21Remove the -X option from SMALL shells (as used on boot floppies,kre
2017-11-19Implement the -X option - an apparent variant of -x which sends all tracekre
2017-07-24PR standards/52406kre
2017-05-29More DEBUG mode changes. As usual, read the source if you care.kre
2017-05-18Command line, and "set" command options processing cleanup.kre
2017-05-15DEBUG mode shell update (changes nothing for shells which are notkre
2016-03-31Implement the NETBSD_SHELL readonly unexportable unimportablechristos
2016-03-08PR bin/50896: make shift with more than 1 arg give a usage message, from krechristos
2016-02-24If we don't have shared address space vfork fail back to using fork sincechristos
2012-03-20Use C89 function definitionsmatt
2011-06-18PR/45069: Henning Petersen: Use prototypes from builtins.h .christos
2009-01-18fix -Wsign-compare issueslukem
2005-12-13TOG require that 'set +o' output the options in a form suitable fordsl
2005-07-15If we have a script and we are interactive, set interactive to 2. Thischristos
2005-03-20Add 'continue' as body of empty loop.dsl
2004-10-30Pass WARNS=3christos
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-04-15%d is 12 chars, not 10 chars. hinted by deraadtitojun
2003-01-22Support command -p, -v and -V as posixdsl
2002-11-24Fixes from David Laight:christos
2001-02-26Fix command name in error message for 'sh nonexistingfile'.wiz
2001-02-04remove redundant declarations and nexted externs.christos
1999-07-09compile with WARNS = 2christos
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-07-28Delint.mycroft
1998-05-02PR/5315: Dan Winship: options parsing code should print errors to stderr.christos
1997-07-04Fix compiler warnings.christos
1997-03-14NO_HISTORY->SMALLchristos
1997-02-25Fix PR/3258 sh -c 'echo $0' causes segmentation fault.christos
1997-01-11kill 'register'tls
1996-12-15Getopts bugs again (I'll never get this right).christos
1996-11-24Fix bug in getopts code where the argument list got truncated.christos
1996-11-06Fix miscellaneous getopts problems:christos
1996-11-02Fix problems that gcc -Wall found (from Todd Miller, OpenBSD)christos
1996-10-16PR/2808: POSIX 1003.2: first arg after -c cmd is $0, remainder $1...christos
1996-06-25- Add getoptsreset to be used as a callback function when OPTIND is set.christos
1996-06-04getopts fixes:christos
1995-05-11Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0christos
1995-03-26Reverted to set - turning off -x and -v. Charles corrected me... It is partchristos
1995-03-25set -christos
1995-03-21convert to new RCS id conventions.cgd
1994-12-05clean up further. more patches from Jim Jegerscgd
1994-12-04from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelchcgd