Commit Graph

23 Commits

Author SHA1 Message Date
reed
7c8c54b731 Fix typo.
From Snader_LB on IRC.
2011-10-18 12:36:31 +00:00
reed
7500459303 Show that -l is option for bind builtin.
(The -l is described later.)
2009-10-24 11:08:46 +00:00
apb
3f6e3bc032 In foo="echo \"hi\"", the backslashes should be removed by the outer
double quotes, not seen by the inner backquotes.  Previously, ksh(1)
handled this correctly in non-posix mode but incorrectly in posix mode.

The previous comments in src/bin/ksh/lex.c quote parts of some version
of the POSIX specification.  The version of POSIX being quoted is not
identified, but the wording is very similar to that in SUSv3
<http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html>.

It seems clear that the words "having escape characters removed"
mean, in that context, that the backslash before the double quote in
"...`...\"...`..." is removed as part of the handling of the outer
double quotes, so that the backslash is not present when the inner
backquotes are handled.  The new code in this commit follows this
interpretation.  The previous code followed a different interpretation
which is now believed to be incorrect.

Discussed in tech-userlevel.  Closes PR 26493.
2008-10-27 19:52:28 +00:00
mjf
16b3db7a9b Fix some grammatical errors in man pages.
Patch supplied by Joerg Niendorf in PR misc/36707, thanks.
2007-07-30 18:01:41 +00:00
cbiere
1d3c56521c Applied patch from PR bin/34790 so that ~/.kshrc is mentioned. 2006-10-24 18:30:25 +00:00
mycroft
f662a744b6 Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
2004-07-07 19:20:09 +00:00
christos
6acf809e53 understand rlimit sbsize 2004-04-17 15:40:12 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wiz
dcc13ddb7d Some grammar and punctuation fixes from jmc@openbsd. 2003-05-01 13:50:58 +00:00
perry
423759aaf3 reimplementation -> re-implementation 2003-03-29 18:38:48 +00:00
kristerw
b225d94754 Fix some typos noted by Soren Jacobsen in PR 20793. 2003-03-22 12:13:03 +00:00
wiz
90c017d88f Fix typo. 2002-12-05 16:52:07 +00:00
wiz
71c3607b93 Miscellaneous fixes by Martin Weber (ephaeton at that gmx net thingy). 2002-10-12 00:02:47 +00:00
wiz
06bd76cf9a parameter, not paramter. By Adrian Mrva. 2002-10-02 15:58:04 +00:00
wiz
6ab45c70b7 Begin new sentences on new lines. From Robert Elz (kre at munnari oz au). 2002-09-26 11:11:17 +00:00
provos
a94ce5a752 enable emacs mode, add tab key to do completion in emacs and vi mode.
from millert@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:55:03 +00:00
jschauma
9f40601644 comment out the (no longer) builtin newgrp 2002-09-20 20:57:58 +00:00
wiz
a57e2bc28e Fix bin/5205 (weird interaction between tbl and man macros). 2002-01-29 15:12:54 +00:00
jwise
8ce003bad4 Fix a cross reference in man page. This should probably be mandoc-ified
if we are not going to use reachover makefiles for ksh (and given that
pdksh does not update very frequently (at all?  any more?  at the moment?),
it is probably reasonable not to).
2001-11-11 21:09:34 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
wiz
d753ffdad1 environ(7), not (5); add RCS Id; whitespace fixes. 2001-04-09 12:33:22 +00:00
hubertf
07ba439fc9 Import pdksh V5.2.14.
Includes lots of bugfixes.
1999-10-20 14:27:32 +00:00