summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.1
AgeCommit message (Collapse)Author
2009-03-06after some discussion with millert, pull in the character class infoJason McIntyre
from glob(7) to the shell pages - they have their own glob stuff, and pointing to glob(7) is just not helpful. ok millert
2009-03-05Add glob(7) and refer to it. OK jmc@ sobrado@Todd C. Miller
2009-03-03Add POSIX character class support ([:alpha:] and friends) to ksh globbing.Todd C. Miller
OK deraadt@ krw@ jmc@ sobrado@
2009-02-07some tweaks for previous that got missed;Jason McIntyre
2009-02-07Make built-in echo behave according to POSIX when set -o posix is in effect:Philip Guenthe
the only option is -n, and only one of those is parsed. diff from Ingo Schwarze ok otto@ kili@; manpage changes ok jmc@
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc.
2008-03-21Make ulimit able to get and set multiple limits in a single invocationTodd C. Miller
like bash and zsh do. Requested by espie@, OK deraadt@
2007-05-31Only process ENV when in interactive mode as SU says. Started byOtto Moerbeek
tedu to fix make -j, SU thing spotted by naddy@; ok millert@ @tedu jmc@ for the man page bit.
2007-05-31convert to new .Dd format;Jason McIntyre
2006-07-26clarifications for OPTIND:Jason McIntyre
hunk #1 from tamas tevesz; hunk #2 from otto; ok otto
2006-03-07simplify the description of what a restricted shell is:Jason McIntyre
sh.1 does not need to talk about rksh; ksh.1 does not need to talk about rsh; also references to rpdksh are not really helpful; from tamas tevesz; ok jaredy
2005-10-07remove mknod documentation - although /bin/sh supports it, this pageJason McIntyre
documents a posix shell (as far as possible); ok otto@
2005-10-06Introducing mknod as a built-in. It might be against the unixOtto Moerbeek
philosophy, but in this case it's worth it. ok deraadt@
2005-09-07LINES and \\ in PS1 prompt are implemented, so remove informationJason McIntyre
which says they are not; from matthias kilian (pr #4476); ok otto@
2005-08-21Comment out description for 'ulimit -v' since we don't supportTodd C. Miller
RLIMIT_VMEM / RLIMIT_AS at the moment. Support for those may go in post-3.8.
2005-06-01add missing detail from IFS exampleJared Yanovich
Originally from TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp> from PR 4220 reminded by jmc
2005-05-12.Xr script 7Jason McIntyre
2005-02-18sort options to echo builtin;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-05note that symlinks in test file are followed, except -h and -LJason McIntyre
(just like test(1) does); from paul de weerd;
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto Moerbeek
expressions. Work by Matthias Kilian, based on an old diff by myself. Note: MAKEDEV should be updated. Tested by many, thanks. ok millert@ deraadt@
2005-01-21fix missing list item: *(...); spotted by Frank Sander frksndr atOtto Moerbeek
gmx dot de. ok jmc@
2005-01-17typo;Jason McIntyre
2005-01-10typo;Jason McIntyre
2004-12-22These man pages are not derived from UCB and are actually public domain.Todd C. Miller
Verified with aaron@ who did the conversion from man -> mdoc.
2004-12-22Our times(3) just calls getrusage(2) and gettimeofday(2), converting secondsTodd C. Miller
to ticks. Since ksh needs things in seconds it then converted them back. Avoid the silliness and use the getrusage(2) and gettimeofday(2) directly. With man page help from jmc@
2004-12-12escape punctuation;Jason McIntyre
2004-12-12csh-style ! history completion, which can be activated by usingTheo de Raadt
set -o csh-history (off by default) this is not feature complete, and likely never will be. no ^ and ! has some oddities ... ksh's internal history stuff has got some very odd behaviours that are rather nasty ok various developers
2004-12-10flurry of updates:Jared Yanovich
- be more consistent w.r.t. variables in macros with `.Ic' instead of `.Va' - document changes in IFS parsing - minimize diffs between ksh.1tbl and sh.1tbl w.r.t. `.Nm' macros and in other places - sort recognized keywords and remove dependency on tbl(1) - indent example displays - kill `bind' - collapse `test' display, it has two entries for `str', and use different args for file time tests - grammar, punctuation, and mdoc fixes - tidy display of `alias' and `kill' ok and bits from jmc
2004-11-09/bin/sh supports PS1 expansion;Jason McIntyre
2004-11-05incorrect markup was messing the description of IFS. i've rearranged itJason McIntyre
slightly so that no one (me, most likely) falls for it again. also, make sh(1)'s IFS description a little more consistent.
2004-10-28fix spacing after period at EOL. from ray@cyth.netJared Yanovich
2004-08-07Document ulimit -v; mickey@ OKTodd C. Miller
2004-08-04- mdoc and macro fixes and simplificationJared Yanovich
- punctuation and grammar fixes - show prompts for example shell commands help and ok jmc
2004-03-15missing commas;Jason McIntyre
2004-03-15reversed word -> reserved word;Jason McIntyre
from Karl O. Pinc
2004-02-19escape full stops where necessary to kill erroneous double spaces;Jason McIntyre
softly, softly, catchy monkey...
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2004-01-15escape full stops properly to avoid double spaces;Jason McIntyre
2003-12-27this page documents `sh', not `ksh';Jason McIntyre
2003-12-27- revert a typo introduced when this page was mdoc'edJason McIntyre
- use .Sq rather than .Dq for single letters
2003-12-22note that `&&' and `||' are left-associative;Jason McIntyre
from vax at carolina dot rr com (NetBSD PR 23814); agreed (in principal) millert@ deraadt@
2003-12-12typo; ok jmc@Christian Weisgerber
2003-10-28standard section order;Jason McIntyre
2003-10-22macros with too many args;Jason McIntyre
2003-09-04escapes in the wrong place;Jason McIntyre
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-07-07- convert some lists to displaysJason McIntyre
- .Ql -> .Sq where necessary - remove some .Pp's before lists - add missing .El - remove some wrong macros
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.