summaryrefslogtreecommitdiff
path: root/usr.bin/env
AgeCommit message (Collapse)Author
2015-01-12the BUG described at the bottom is not a bug. It is how it is supposed toTheo de Raadt
work. Move it up into the main body. ok tedu millert
2014-03-08Make sure all possible EXIT STATUS values are listed,Ingo Schwarze
none are listed multiple times, and polish the wording. Incompleteness and potential for confusion noticed by millert@. Using feedback from jmc@ and millert@.
2014-03-08Make sure that env(1) always prints a diagnostic message to stderrIngo Schwarze
if it fails without invoking the utility, such that failure of env(1) and failure of the utility can be distinguished. Without this patch, broken commands like "env =foo myprog" failed silently, now they properly report an invalid argument. OK millert@
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-03-01Don't rely on non-standard setenv() behavior.Todd C. Miller
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-20rewrite DIAGNOSTICS to avoid confusion about which application returnsJason McIntyre
what, and when; started by Jeffrey 'jf' Lim, with some correction from Ingo Schwarze; ok otto
2006-05-28Re-add '-' getopt flag, since getopt can actually handle it.Ray Lai
Requested by deraadt@.
2006-05-28o KNFRay Lai
o Remove unnecessary casts o Add __dead o Remove /* NOTREACHED */ o Remove cases '?' and '-' o Use more conventional getopt(3) syntax (argc -= optind; argv += optind; right after while loop) OK deraadt@
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-03-01Sync usage() with man page; mpech@prosoft.org.lvAaron Campbell
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-03-05Various improvements, including a few HISTORY sections added from FreeBSD.Aaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-09-23usr.bin/ man page repairs, a - eAaron Campbell
1997-09-21$OpenBSD$Theo de Raadt
1997-06-20do not screw up setenv()Theo de Raadt
1996-06-26rcsidTheo de Raadt
1996-05-21minor nothingTheo de Raadt
1995-12-08s/environmental/environment/Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt