summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1
AgeCommit message (Collapse)Author
2014-08-17update the built-ins list:Jason McIntyre
- "times" is both promoted to posix and special (ooh!) - "pwd" is promoted to posix, but not special (aah!) while here, jiggle the text somewhat to clarify that "non-POSIX" actually meant when posix mode is off, not mandated by posix joint work with guenther
2014-02-12missing .An macros, based on a patch from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-01-28update book references;Jason McIntyre
From: Jan Stary tweaked a bit by myself
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2013-12-18Remove artificial limit on the max array index.Todd C. Miller
Adapted from a bitrig commit from Martin Natano. OK zhuk@
2013-09-04Add a proper suspend builtin that saves/restores the tty and pgrpTodd C. Miller
as needed instead of an alias that just sends SIGSTOP. Login shells may be suspended if they are not running in an orphan process group. OK guenther@ jmc@
2013-06-13Document correct interaction of -e flag with && and ||. OK jmc@Todd C. Miller
2013-03-18Keep documentation in sync with reality and update binding examples.Martin Pieuchot
This should have been part of the keybinding rewrote when support for multi-character sequences has been added. Pointed out by mikeb@
2013-01-17remove some uesless Pp;Jason McIntyre
2012-07-08Document ${var[@]} and ${var[*]}Philip Guenthe
ok espie@
2012-06-19for arithmetic expressions, note that:Jason McIntyre
+A parameter that is NULL or unset evaluates to 0. original diff from robert peichaer this version from naddy
2012-04-30generalise ksh keybinding system - bindings are no longer limited inDamien Miller
length and need not start with ESC or ^X; patch from marco@ feedback mpi@
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-04-23improve line breaking in SYNOPSIS now that semantics of the .Bk macroIgor Sobrado
has changed to conform with modern groff releases. diff for route6d(8) written mostly by schwarze@, with lots of useful advice from jmc@. ok jmc@, schwarze@
2011-03-09substitute '~' for $HOME in the \W prompt case; matches bash's behavior.Okan Demirmen
feedback from Dan Harnett OK deraadt@
2010-09-20according to ingo, it isn;t a problem to have empty [BDS]q macros, soJason McIntyre
revert that part of yesterday's diffs;
2010-09-18some macro cleanup:Jason McIntyre
- remove some old groff workarounds in SYNOPSIS - avoid "Op ... Oc" constructions - avoid empty Sq/Dq - change some incorrect Xr
2010-07-15When the first argument or arguments of a macro are opening delimitersIngo Schwarze
(parentheses and/or square brackets), both modern groff and mandoc first output those leading delimiters as plain text, then start the macro scope after these opening delimiters. This is similar to printing trailing punctuation and trailing closing delimiters on a macro line outside and after the macro scope. For example, ".Sq ( text )" is "(`text')", not "`(text)'". Thus, we now need to quote leading opening delimiters when we want them inside the macro scope. These are the cases in src/bin. "makes sense" jmc@
2010-07-12ksh.1: add ((, )), ]], and `name' to the list of reserved words for compoundsJason McIntyre
sh.1: add ]] and `name' to the list; additionally document the commands `select' (requested by Ross L Richardson) and [[ ok millert sobrado
2010-05-10tweak previous;Jason McIntyre
2010-05-10unset doesn't fail except for read-only variables and functionsMatthias Kilian
ok guenther@
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
c_sh.c part from sobrado; ok millert guenther
2010-02-26Array indices are limited to 0 through 10239 now.william
ok jmc deraadt
2010-02-25get rid of overlapping blocks discouraged by mdoc.samples(7);Ingo Schwarze
found by and unbreaking the build with mandoc(1); "fine" jmc@ sobrado@
2009-05-28fix missing bracket by slightly rewriting; from Alan R. S. BuenoJason McIntyre
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-05-17documentation tweaks.Igor Sobrado
ok (some time ago) 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-11-30typos; from alf schlichtingJason McIntyre
2006-08-03comment fix; from tamas teveszJason McIntyre
2006-07-26clarifications for OPTIND:Jason McIntyre
hunk #1 from tamas tevesz; hunk #2 from otto; ok otto
2006-06-01simplify the PS1 section somewhat by moving the ! and \! stuff together;Jason McIntyre
ok otto
2006-05-30document some advice when \$ is part of your prompt;Jason McIntyre
from otto and myself
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
idea to assign a special meaning to "\$" -- two chars that are already (very) special -- deserves a spanking.
2006-04-22back out last - it was not a command line prompt;Jason McIntyre
thanks matthias kilian
2006-04-21missing command line prompt;Jason McIntyre
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-12-06make the PS1 section a little easier to read;Jason McIntyre
2005-11-30document root PS1 feature:Jason McIntyre
from matthias kilian (pr #4924), but slightly tweaked version of his diff; ok otto
2005-11-16document the procedure for providing a startup file for interactiveJason McIntyre
(but non-login) shells; document /etc/ksh.kshrc and sort FILES; fix + ok otto@
2005-10-12document new max array sizeBernd Ahlers
ok otto@
2005-10-07brief description of mknod built-in;Jason McIntyre
add mknod to list of (regular ksh) built-ins; 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@