summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Expand)Author
2022-08-31use the posix phrasing to improve the description of "shift";Jason McIntyre
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2021-12-24when getopts prints "unknown option" or "requires argument", it shouldTheo de Raadt
2021-12-15getcwd() operates on buffers of PATH_MAX including the NUL, and the +1Theo de Raadt
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-10-09In ksh(1) emacs search-history mode, emitting a NUL character causesAlexander Hall
2021-07-05Do not permit an empty list between "while" and "do".Todd C. Miller
2021-06-27In addition to 2-byte and 3-byte UTF-8 sequences, correctly identify allIngo Schwarze
2021-05-04shell scripts should use getopts instead of getoptChristian Weisgerber
2021-03-12Provide definition of CTRL in vi.c like we do for emacs.c.Todd C. Miller
2021-03-11groff complains about the word "An" in an Rs/Re block, believing it a macro,Jason McIntyre
2021-03-10Add support for ^R (redraw) in insert mode too.Todd C. Miller
2021-03-10Fix redrawing of a multiline PS1 prompt in vi mode.Todd C. Miller
2021-03-08use a journal reference instead of cstr when possibleJonathan Gray
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
2021-03-05Fix old ksh bug: wrong variable being looked up when value is provided.Vadim Zhukov
2020-10-26In lib/libc/gen/charclass.h r1.3 guenther made cclasses const.Theo Buehler
2020-09-20Clear screen before redrawing the line with ^L, also in input mode.Todd C. Miller
2020-09-13Fix "$@" splitting with empty IFSTheo Buehler
2020-07-22Collapse consecutive stars to avoid exponential behavior.Todd C. Miller
2020-07-07Add support for set -o pipefailJeremie Courreges-Anglas
2020-05-22Fix the exit code when eval()uating a || compound list, it wouldSebastian Benoit
2020-05-08Use proper function pointer type instead of void *Jeremie Courreges-Anglas
2020-02-21Enforce that TMOUT is an integer literal to prevent command execution fromTheo Buehler
2019-11-26some corrections to CDPATH;Jason McIntyre
2019-10-27No need for <sys/uio.h> as writev(2) isn't used any more.Jeremie Courreges-Anglas
2019-10-27Don't fail hard if we can't preallocate history storage.Jeremie Courreges-Anglas
2019-07-24Add #include <stdlib.h> for mkstemp.Brian Callahan
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2019-06-24Fix spellingJeremie Courreges-Anglas
2019-06-24Partial revert of rev. 1.151:Ingo Schwarze
2019-06-21zap trailing whitespace;Jason McIntyre
2019-06-19Allow string greater/less than than operators to work with test aka [.Todd C. Miller
2019-05-22mention that using vi command line editing mode requires enabling it;Ingo Schwarze
2019-04-03Bind ^L (C-l) to clear-screen instead of redrawJeremie Courreges-Anglas
2019-02-20When evaluating an arithmetical expression, for example inside $(()),Ingo Schwarze
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2019-01-14Fix three more buglets:Ingo Schwarze
2019-01-14do not peek before the beginning of a stringTed Unangst
2019-01-07short circuit mail check if MAIL is unset. ok antonTed Unangst
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-16Tweak the syntax displays to show that the list of wordsIngo Schwarze
2018-12-08Fix kill [-SIGNAME | -s SIGNAME] and simplifyJeremie Courreges-Anglas
2018-11-30in getopts, when a option is followed by a colon the parameter is mandatorysolene
2018-11-20Convert the pledge call to idiomatic format 'cause we love grep.Theo de Raadt
2018-11-20Fix the case where the recursion detection isn't reset when the command isMartijn van Duren
2018-11-17Use a very regular call pattern to pledge, so that we can continue toTheo de Raadt
2018-11-16Include "id" in pledge (for setres[ug]id, setgroups) if the shell isNicholas Marriott
2018-09-29Export the PWD and OLDPWD shell variables as per POSIX.Todd C. Miller