tg
d10c196cf1
improve exporting documentation:
...
• reference “shellshock” of GNU bash for exporting functions
• mention we don’t export arrays (just their "0" members) as
ksh93 and GNU bash don’t do it either, the latter documen‐
ting it even
2018-04-16 00:32:35 +00:00
tg
99f6aae983
move text on ${array} => ${array[0]} implicitly, it is more global
2018-04-16 00:22:28 +00:00
tg
3a4eaf6f59
fix documentation bug, thanks panpo and Riviera for spotting
2017-08-16 21:40:14 +00:00
tg
53fbbc9693
we have a FAQ now! (well, two of them, different scope though)
2017-08-10 19:25:12 +00:00
tg
36dcaf624b
fuck POSIX
2017-08-07 21:16:32 +00:00
tg
1854fb9b3d
turn off UTF-8 mode upon entering POSIX mode, for J�rg
2017-08-07 20:49:42 +00:00
tg
5c72925bf3
add EBCDIC primer and attribution for iSKUNK
2017-05-05 22:45:58 +00:00
tg
1c6b2d1cb8
allow backslash escapes for bind for ^ and \ o̲n̲l̲y̲; also more EBCDIC-friendly
2017-04-28 03:37:44 +00:00
tg
9db3cb57b9
allow : and [ in alias names (but forbid [[ explicitly)
...
to make 'enable' completely work again
2017-04-27 23:33:22 +00:00
tg
36ea8e6171
on ^C (INTR, QUIT edchars), shove input line into history
2017-04-21 19:08:18 +00:00
tg
c35a5db0ac
restore ‘.’ as allowed char in alias names
2017-04-20 20:50:14 +00:00
tg
a0993c690c
finally document FPOSIX and FSH delta
2017-04-12 18:30:58 +00:00
tg
833cb27f5c
add test -v, initially from Martijn Dekker
2017-04-12 17:38:46 +00:00
tg
6cd65f7a6c
Clarify the effect of exit and return in a subshell
...
From: Jean Delvare <jdelvare@suse.de>
2017-04-11 17:40:41 +00:00
tg
cadc884008
put the hyphen-minus back into the allowed alias name characters, for
...
Steffen Nurpmeso <steffen@sdaoden.eu>, except disallow it at the start
2017-04-06 19:02:07 +00:00
tg
e00f693cba
limit alias characters to what POSIX requires
2017-04-06 00:53:35 +00:00
tg
397e1398d9
fix small inaccuracy
2017-04-03 02:10:49 +00:00
tg
8bf6cad8bc
introduce the -T flag to set TEXTMODE (ASCII CR+LF newline support)
2017-04-02 14:14:08 +00:00
tg
9466b49fe8
add standard variable PATHSEP, for better and easier OS/2 support
2017-03-19 22:31:29 +00:00
tg
0935faa52b
introduce a FAQ, move lots of stuff there and add lots of stuff
2017-03-19 22:04:49 +00:00
tg
06b2d53ea2
use \\builtin ipv \let] and \set internally
2017-03-19 20:59:29 +00:00
tg
73dca6e90f
use the new “\builtin” builtin for quoting, everywhere
2017-03-19 20:36:08 +00:00
tg
c3fe9d5fb5
Haiku-related ulimit overhaul:
...
• print ulimit -a with the flag, like most other shells do
• move ulimit-1 regression test to ulimit-2 and exclude on Haiku:
it can only set the -n and -V limits AFAICT
• document that some OSes (here: Haiku) can only set the soft limits
(so “ulimit -nS 1024” is okay but -S is required)
• check “ulimit -c 0”, which dot.mkshrc uses, everywhere
(if it errors out, hack around it or stub it out with MKSH_NO_LIMITS)
2017-03-19 18:05:29 +00:00
tg
c98c8e9f5f
further change typeset scope description, inspired by Martijn Dekker
2017-03-19 16:48:51 +00:00
tg
5b63e5dcb6
implement “typeset -g”, From: Martijn Dekker <martijn@inlv.org>
...
also deprecate “global”; thanks!
2017-03-17 22:45:53 +00:00
tg
065f9554fa
fix GNU groff-only formatting bug in the manpage
...
From: Jean Delvare <jdelvare@suse.de>
2017-03-14 11:32:56 +00:00
tg
acf7909fe8
add OS/2 PATH note, for komh
2017-03-12 02:34:54 +00:00
tg
59219161fb
document the declaration utility stuff and the new \builtin
...
also, make global a declaration utility
2017-03-12 02:31:02 +00:00
tg
ff72ba8399
make “builtin” and “wait” not special
...
(“\builtin” likely also doesn’t need it, as “command” isn’t)
2017-03-11 23:10:41 +00:00
tg
a112d69c56
add missing -e to print synopsis; From: Jean Delvare <jdelvare@suse.de>
...
also add missing .Ns (no space) between -u and [n] in its option list
2017-02-27 16:08:04 +00:00
tg
287507fb21
there’s no evidence for -e in any BSD echo (but in ksh93 print)
...
spotted by Jean Delvare <jdelvare@suse.de> and Werner Fink <werner@suse.de>
2017-02-17 22:28:26 +00:00
tg
0cdc87055f
improve rendering of contact information
2017-02-17 20:41:56 +00:00
tg
93162d8c3a
undocument printf(1), it causes user confusion
2017-02-17 20:38:16 +00:00
tg
7b4bee7e58
collective R54 release preparation multi-merger:
...
install both lksh and mksh manpages from Build.sh (Martijn Dekker)
spelling fixes (Larry Hynes)
manpage improvements (Martijn Dekker)
initial port to Harvey-OS’ APEX (Ronald G. Minnich, Elbing Miss, Álvaro Jurado)
more from komh’s OS/2 port (KO Myung-Hun)
2016-11-11 23:31:39 +00:00
tg
3aac3c30b5
return 128+SIGALRM if read with timeout timeouts, inspired by GNU bash
2016-11-11 22:17:09 +00:00
tg
945ef46af1
document print builtin changes
2016-11-11 21:37:44 +00:00
tg
9c602791b2
today, Andreas Buschka learnt that the Oxford comma is an american thing
...
(except for exactly the University of Oxford or to disambiguate)
2016-09-29 09:04:56 +00:00
tg
bb796ff785
simplify manpage and code; streamline manpage formatting and Satzzeichen
2016-08-24 20:40:00 +00:00
tg
35bd16ddfa
this bug has long been fixed
2016-08-24 19:36:26 +00:00
tg
91b5d4b3ad
remove all mentions of “the null string”, it’s an empty string (in most
...
cases), or an unset parameter (in some cases)
2016-08-24 19:35:26 +00:00
tg
bb7226277b
fixes
2016-08-10 18:20:05 +00:00
tg
b58ff810a5
mention bases can (naturally…) only go up to 36, requested by izabera
2016-08-10 18:15:18 +00:00
tg
3e8165b9cd
fix groff issue pointed out by lintian
...
surprisingly enough, no changes needed for the gcc6 switch in Debian sid…
2016-08-04 09:27:59 +00:00
tg
a99bb8baa0
quote the &, for POSIX:
...
An ordinary character is a pattern that shall match itself. It can be any
character in the supported character set except for NUL, those special shell
characters in [199]Quoting that require quoting, and the following three special
⇓
The application shall quote the following characters if they are to represent
themselves:
| & ; < > ( ) $ ` \ " ' <space> <tab> <newline>
2016-08-03 17:34:12 +00:00
tg
757e25fb21
implement $KSH_MATCH and, to make it usable, ${foo@/bar/baz};
...
add a real-life example (for slagtc’s programmable tab completion)
to the manpage
2016-08-01 21:38:07 +00:00
tg
6551fd5a86
move EPOCHREALTIME to correct location, drop ERRNO (wtf?)
2016-08-01 19:40:00 +00:00
tg
984894f093
>>> is not needed (LP#1608505)
2016-08-01 19:11:27 +00:00
tg
dd281c52ec
defer to external rename(1) too
2016-07-26 21:50:46 +00:00
tg
9dbd643504
implement new evaluate-region editing command (!MKSH_SMALL)
...
while here, fixup x_redraw refactoring x_clrtoeol, x_pprompt, and x_lastpos
2016-07-26 21:37:26 +00:00
tg
f9d131133e
remove fd>9 support in favour of upcoming named file descriptors; bump
2016-07-25 21:05:25 +00:00