OpenBSD CVS

CVS log for src/bin/ksh/ksh.1


[BACK] Up to [local] / src / bin / ksh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.220 / (download) - annotate - [select for diffs], Fri Oct 20 18:51:09 2023 UTC (7 months, 3 weeks ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.219: +43 -43 lines
Diff to previous 1.219 (colored)

Improve markup in some cases where .Li was abused.
Triggered by a smaller diff from jan@.
OK jmc@ jan@

Revision 1.219 / (download) - annotate - [select for diffs], Sat Jun 10 07:24:21 2023 UTC (12 months ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.218: +3 -23 lines
Diff to previous 1.218 (colored)

ksh: remove broken special handling of test -t

Drop the vestiges of the pre-POSIX support of `test -t' defaulting to fd
1.  It doesn't work and it always succeed since "-t" is treated as a
string by default when no argument (fd) is specified.

diff by Lucas (lucas [at] sexy [dot] is) with minor change by me.
ok millert@

Revision 1.218 / (download) - annotate - [select for diffs], Mon Dec 26 17:45:27 2022 UTC (17 months, 2 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.217: +5 -13 lines
Diff to previous 1.217 (colored)

reformat some multiline markup, which had been causing an unwanted
space (specifically in the "alias", "readonly" and "typeset"
commands);

from josiah frentsos

Revision 1.217 / (download) - annotate - [select for diffs], Tue Sep 13 20:26:26 2022 UTC (20 months, 3 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.216: +5 -4 lines
Diff to previous 1.216 (colored)

== in [[ does pattern matching as well

OK millert

Revision 1.216 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:14 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.215: +3 -3 lines
Diff to previous 1.215 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.215 / (download) - annotate - [select for diffs], Tue May 4 21:03:30 2021 UTC (3 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.214: +21 -2 lines
Diff to previous 1.214 (colored)

shell scripts should use getopts instead of getopt

Add a prominent deprecation notice to getopt.1.
Add examples of the getopts idiom to sh.1 and ksh.1.

Requested by and ok espie@, ok jmc@

Revision 1.214 / (download) - annotate - [select for diffs], Thu Mar 11 07:04:12 2021 UTC (3 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.213: +3 -3 lines
Diff to previous 1.213 (colored)

groff complains about the word "An" in an Rs/Re block, believing it a macro,
so escape it;

Revision 1.213 / (download) - annotate - [select for diffs], Wed Mar 10 20:17:33 2021 UTC (3 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.212: +3 -1 lines
Diff to previous 1.212 (colored)

Add support for ^R (redraw) in insert mode too.
From gotroyb127, OK tb@

Revision 1.212 / (download) - annotate - [select for diffs], Mon Mar 8 06:20:50 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.211: +10 -2 lines
Diff to previous 1.211 (colored)

use a journal reference instead of cstr when possible

Revision 1.211 / (download) - annotate - [select for diffs], Mon Mar 8 02:47:26 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.210: +11 -2 lines
Diff to previous 1.210 (colored)

Add some references, most of these were removed when we stopped building
and installing USD/SMM/PSD docs.

jmc@ agrees with the direction, ok millert@ on an earlier diff

Revision 1.210 / (download) - annotate - [select for diffs], Sun Sep 20 14:40:45 2020 UTC (3 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.209: +12 -3 lines
Diff to previous 1.209 (colored)

Clear screen before redrawing the line with ^L, also in input mode.
This is similar to the emacs mode clear-screen command.  Unlike
bash, but like zsh, ^L also works in input mode, not just command
mode.  OK kn@ tb@

Revision 1.209 / (download) - annotate - [select for diffs], Tue Jul 7 10:33:58 2020 UTC (3 years, 11 months ago) by jca
Branch: MAIN
Changes since 1.208: +9 -3 lines
Diff to previous 1.208 (colored)

Add support for set -o pipefail

With the pipefail option set, the exit status of a pipeline is 0 if all
commands succeed, or the return status of the rightmost command that
fails.  This can help stronger error checking, but is not a silver
bullet.  For example, commands will exhibit a non-zero exit status if
they're killed by a SIGPIPE when writing to a pipe.  Yet pipefail was
considered useful enough to be included in the next POSIX standard.

This implementation remembers the value of the pipefail option when
a pipeline is started, as described as option 1) in

  https://www.austingroupbugs.net/view.php?id=789#c4102

Requested by ajacoutot@, ok millert@

Revision 1.208 / (download) - annotate - [select for diffs], Tue Nov 26 22:49:01 2019 UTC (4 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.207: +5 -3 lines
Diff to previous 1.207 (colored)

some corrections to CDPATH;
from chohag

Revision 1.207 / (download) - annotate - [select for diffs], Mon Jun 24 15:05:17 2019 UTC (4 years, 11 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.206: +3 -3 lines
Diff to previous 1.206 (colored)

Fix spelling

Revision 1.206 / (download) - annotate - [select for diffs], Mon Jun 24 14:22:39 2019 UTC (4 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.205: +7 -5 lines
Diff to previous 1.205 (colored)

Partial revert of rev. 1.151:
Reference the First Edition (1989) of Bolsky/Korn which is about ksh88,
the shell the OpenBSD ksh(1) descends from (via pdksh).
The Second Edition (1995) of the book is about ksh93 which we don't provide.
Pointed out by Andras Farkas on bugs@.

Revision 1.205 / (download) - annotate - [select for diffs], Fri Jun 21 10:49:17 2019 UTC (4 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.204: +3 -3 lines
Diff to previous 1.204 (colored)

zap trailing whitespace;

Revision 1.204 / (download) - annotate - [select for diffs], Wed Jun 19 18:18:22 2019 UTC (4 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.203: +11 -6 lines
Diff to previous 1.203 (colored)

Allow string greater/less than than operators to work with test aka [.
Previously they were only recognized in [[ ... ]] expressions.  This
changes sh/ksh to be consistent with test(1) as well as shells like
bash and dash.  OK jca@ jmc@

Revision 1.203 / (download) - annotate - [select for diffs], Wed Apr 3 14:55:12 2019 UTC (5 years, 2 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.202: +4 -4 lines
Diff to previous 1.202 (colored)

Bind ^L (C-l) to clear-screen instead of redraw

Slightly more useful for some, same defaults as bash.
No objection deraadt@ phessler@, ok tb@ kn@ benno@

Revision 1.202 / (download) - annotate - [select for diffs], Sun Dec 16 13:08:35 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.201: +6 -6 lines
Diff to previous 1.201 (colored)

Tweak the syntax displays to show that the list of words
in "for name in [word ...]; do list; done" can be empty.
In sh(1), clarify what happens in that case.
In ksh(1), clarify how it can happen that the list is never executed.
OK jmc@ tb@

Revision 1.201 / (download) - annotate - [select for diffs], Mon Jun 18 17:03:58 2018 UTC (5 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.200: +11 -2 lines
Diff to previous 1.200 (colored)

Add clear-screen emacs editing command, currently not bound to a
key by default.  The shell will query the terminfo database to
find the escape sequence to clear the screen.  OK deraadt@

Revision 1.200 / (download) - annotate - [select for diffs], Wed May 30 21:20:52 2018 UTC (6 years ago) by benno
Branch: MAIN
Changes since 1.199: +4 -4 lines
Diff to previous 1.199 (colored)

point readers to the correct place instead of having them
jump around.

suggested and ok jmc@, ok jcm@

Revision 1.199 / (download) - annotate - [select for diffs], Fri May 18 13:25:20 2018 UTC (6 years ago) by benno
Branch: MAIN
Changes since 1.198: +7 -4 lines
Diff to previous 1.198 (colored)

remove the alias type='whence -v' and replace it with
a buildin command, that just calls into c_whence().
This makes type look like the buildin in other shells and makes
things like system("'type' 'git'"); work.

With lots of suggestions and feedback from anton@, kn@ and jca@.
ok kn@ jca@

Revision 1.198 / (download) - annotate - [select for diffs], Tue Feb 6 15:13:32 2018 UTC (6 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.197: +8 -3 lines
Diff to previous 1.197 (colored)

Clarify that the "bind" built-in command only affects Emacs editing
mode, to avoid potential confusion pointed out by andreas dot kahari
at icm dot uu dot se on misc@.
Patch minimally tweaked based on a comment from jmc@.
OK anton@ jca@ jmc@ on the previous version without the tweak.

Revision 1.197 / (download) - annotate - [select for diffs], Tue Dec 12 11:34:38 2017 UTC (6 years, 6 months ago) by tb
Branch: MAIN
Changes since 1.196: +3 -3 lines
Diff to previous 1.196 (colored)

Document change in the default shell prompts.

Discussed with and ok jmc

Revision 1.196 / (download) - annotate - [select for diffs], Wed Nov 22 12:17:34 2017 UTC (6 years, 6 months ago) by anton
Branch: MAIN
Changes since 1.195: +13 -7 lines
Diff to previous 1.195 (colored)

Fix some incorrectness related to Emacs editing mode in ksh:

- Keep the order of bindings in sync between the manual and implementation
- Fix wrongly documented bindings in the manual
- Break out commands without a default binding in the manual

ok jmc@ tb@

Revision 1.195 / (download) - annotate - [select for diffs], Wed Aug 30 17:08:45 2017 UTC (6 years, 9 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.194: +11 -2 lines
Diff to previous 1.194 (colored)

Implement HISTCONTROL ignoredups & ignorespace features

ignoredups: don't save the current line if it is identical to the last
history line.
ignorespace: don't save the current line if it starts with a space

ok anton@ millert@

Revision 1.194 / (download) - annotate - [select for diffs], Wed Aug 30 17:02:53 2017 UTC (6 years, 9 months ago) by jca
Branch: MAIN
Changes since 1.193: +2 -5 lines
Diff to previous 1.193 (colored)

Stop exposing the emacs-usemeta option, and warn when trying to set it.

Unused since 2012, to be removed after 6.2.  Input from anton@,
ok anton@ millert@

Revision 1.193 / (download) - annotate - [select for diffs], Sat Aug 19 06:19:42 2017 UTC (6 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.192: +5 -5 lines
Diff to previous 1.192 (colored)

\$ in PS1 gets you the default prompt character, which differs from the
default prompt by not including a space after the character;

diff from scott cheloha

Revision 1.192 / (download) - annotate - [select for diffs], Fri Aug 11 23:10:55 2017 UTC (6 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.191: +2 -11 lines
Diff to previous 1.191 (colored)

Retire old behavior of requiring root prompt to contain # or \!

Requested by akoshibe and phessler
ok phessler@ anton@ jca@

Revision 1.191 / (download) - annotate - [select for diffs], Thu Jul 6 15:42:04 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored)

fix broken cross references; found with mandoc -Tlint

Revision 1.190 / (download) - annotate - [select for diffs], Tue Jul 4 11:46:15 2017 UTC (6 years, 11 months ago) by anton
Branch: MAIN
Changes since 1.189: +2 -14 lines
Diff to previous 1.189 (colored)

Backout previous due to a bug discovered by zhuk@ that requires some tinkering
and is not an easy fix for now.

Revision 1.189 / (download) - annotate - [select for diffs], Tue Jul 4 07:29:32 2017 UTC (6 years, 11 months ago) by anton
Branch: MAIN
Changes since 1.188: +14 -2 lines
Diff to previous 1.188 (colored)

Add support for pattern substitution to variables in ksh using a common syntax
borrowed from ksh93.

Survived a ports build performed by naddy@ and encouraged by many.

Revision 1.188 / (download) - annotate - [select for diffs], Tue Jun 20 17:32:20 2017 UTC (6 years, 11 months ago) by brynet
Branch: MAIN
Changes since 1.187: +2 -10 lines
Diff to previous 1.187 (colored)

'^T' is documented to be bounded to transpose-chars while in emacs
mode, not "stuff". While here, remove the poorly described "stuff"
and "stuff" bind functions as well..

In the unlikely event anyone has those in .kshrc, they'll need to
be removed.

ok anton@

Revision 1.187 / (download) - annotate - [select for diffs], Sun Feb 19 22:09:18 2017 UTC (7 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.186: +4 -6 lines
Diff to previous 1.186 (colored)

Assigning to RANDOM calls srand_deterministic(3), not srand(3),
and simplify the next sentence; triggered by a different patch
from Anton dot Lindqvist at gmail dot com.

OK millert@ tb@

Revision 1.186 / (download) - annotate - [select for diffs], Mon Nov 14 06:59:42 2016 UTC (7 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.185: +99 -83 lines
Diff to previous 1.185 (colored)

Markup improvements:
1. Mark up reserved words intended to appear at the beginning of command
lines with .Ic.
2. Mark up syntax elements intended to appear in the middle of command
lines with .Cm.

This is not only more systematic, but also makes internal search
commands like :tif<enter>, :tstop<enter>, and :t[[<enter> work in
man(1).

Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 15 14:36:38 2016 UTC (7 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.184: +5 -29 lines
Diff to previous 1.184 (colored)

remove the "in the future" notes from the past;
from ray lai

Revision 1.184 / (download) - annotate - [select for diffs], Fri Oct 14 11:06:32 2016 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.183: +19 -8 lines
Diff to previous 1.183 (colored)

Correct description of the "bind" builtin command.

jmc@ finds the key binding stuff "disgusting" (i can't argue with that)
and doesn't want to comment on the content, but agrees with the wording.

Revision 1.183 / (download) - annotate - [select for diffs], Fri Oct 7 16:09:49 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.182: +3 -2 lines
Diff to previous 1.182 (colored)

note that ulimit -m is not enforced, spotted by jmc

Revision 1.182 / (download) - annotate - [select for diffs], Fri Sep 30 17:02:55 2016 UTC (7 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.181: +2 -3 lines
Diff to previous 1.181 (colored)

remove unneccessary .Pp; from jan stary

Revision 1.181 / (download) - annotate - [select for diffs], Tue Sep 27 23:58:38 2016 UTC (7 years, 8 months ago) by czarkoff
Branch: MAIN
Changes since 1.180: +13 -8 lines
Diff to previous 1.180 (colored)

Move bug description to the BUGS section

OK natano@, jmc@

(I forgot to commit it back in mid-August when it was discussed.)

Revision 1.180 / (download) - annotate - [select for diffs], Sun Sep 4 17:21:44 2016 UTC (7 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.179: +21 -2 lines
Diff to previous 1.179 (colored)

Allow simple custom completions by creating an array named
"complete_commandname_argnum", for example:

    set -A complete_kill_1 -- -9 -HUP -INFO -KILL -TERM

To set completions for the first argument to kill(1). If no complete_*
arrays are present, the normal filename completion is offered.

positive comments from many; man page ok/tweaks jmc; ok tedu

Revision 1.179 / (download) - annotate - [select for diffs], Wed Apr 27 12:46:23 2016 UTC (8 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.178: +2 -29 lines
Diff to previous 1.178 (colored)

Do not handle echo "`echo \"hi\"`" in POSIX mode differently than in
traditional mode.  This aligns ksh's behavior with bash and FreeBSD sh.
The interpretation of the POSIX text is disputed, but it is unlikely
that a change from the traditional behavior was intended.

ok millert@

Revision 1.178 / (download) - annotate - [select for diffs], Mon Mar 21 13:35:00 2016 UTC (8 years, 2 months ago) by tb
Branch: MAIN
Changes since 1.177: +5 -3 lines
Diff to previous 1.177 (colored)

More ksh POSIX compliance fixes by Martijn Dekker:

This simple patch makes the 'command' builtin POSIX-compliant and
consistent with other current shells. It fixes two things:

   a) 'command -v' does not find shell reserved words (a.k.a. keywords).
For instance, 'command -v select' outputs nothing but should output
'select'.

   b) 'command -pv' always outputs the path of an external command, even
if 'command -p' would execute a builtin. For instance, 'command -p kill'
executes the 'kill' builtin, as expected, but 'command -pv kill' outputs
'/bin/kill'. The '-v' option is supposed to reflect what would actually
be executed, so 'command -pv kill' should output 'kill'. The -p option
sets the PATH to a default system value before doing the search, but
that has no bearing on the fact that builtins take precedence over
external commands.

The patch fixes both issues for 'command' without affecting the
behaviour of the ksh-specific builtin 'whence', which is handled by the
same C function.

Regression test added to obsd-regress.t.

Issues found and fixed by Martijn Dekker, ok millert@

Revision 1.177 / (download) - annotate - [select for diffs], Sun Mar 6 14:20:04 2016 UTC (8 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.176: +4 -4 lines
Diff to previous 1.176 (colored)

tweak previous a little;

Revision 1.176 / (download) - annotate - [select for diffs], Sun Mar 6 11:56:20 2016 UTC (8 years, 3 months ago) by natano
Branch: MAIN
Changes since 1.175: +3 -2 lines
Diff to previous 1.175 (colored)

Make set +o conform with POSIX.

It should be possible to use set +o to save the current shell options,
then modify them at will and later restore them to the saved value.
Therefore the output must not only contain the options which are
currently set, but also the ones that are _not_ set, so a restore
disables them if they are enabled.

from Martijn Dekker (martijn (at) inlv (dot) org)
ok sthen@, tb@

Revision 1.175 / (download) - annotate - [select for diffs], Fri Mar 4 18:16:50 2016 UTC (8 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.174: +3 -3 lines
Diff to previous 1.174 (colored)

Fix a typo.  The command is to get the default system PATH value
is "getconf PATH" not "getconf CS_PATH".

Revision 1.174 / (download) - annotate - [select for diffs], Fri Mar 4 15:11:06 2016 UTC (8 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.173: +3 -40 lines
Diff to previous 1.173 (colored)

remove CSRG BSD-licensed mknod builtin code which was previously used to
accelerate install/upgrade time MAKEDEV runs.  That allows ramdisk ksh
to be pledged, without needing "dpath".  We'll solve the performance issues
a different way (soon).
ok otto espie natano tb tobiasu rpe

Revision 1.173 / (download) - annotate - [select for diffs], Tue Dec 29 01:02:34 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.172: +2 -8 lines
Diff to previous 1.172 (colored)

Remove reference to $ERRNO, which was been unimplemented for >= 19
years.

From Michael Reed. ok halex@

Revision 1.172 / (download) - annotate - [select for diffs], Sat Dec 26 18:44:01 2015 UTC (8 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.171: +101 -101 lines
Diff to previous 1.171 (colored)

remove special characters; diff from michael reed

Revision 1.171 / (download) - annotate - [select for diffs], Tue Nov 24 21:07:31 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored)

Revert previous tweak, pending a more complete rewording. Discussed with
halex@, sthen@, jmc@.

Revision 1.170 / (download) - annotate - [select for diffs], Sun Nov 22 01:29:57 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.169: +9 -6 lines
Diff to previous 1.169 (colored)

This man page uses "Note that" profusely, which is generally considered
bad writing style. Also, add a paragraph break and split up a
megasentence.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Nov 22 01:23:39 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.168: +9 -14 lines
Diff to previous 1.168 (colored)

Don't use pdksh for self-reference and remove needless historical
context.

Revision 1.168 / (download) - annotate - [select for diffs], Sun Nov 22 00:24:49 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.167: +2 -34 lines
Diff to previous 1.167 (colored)

Remove commented-out BUGS section that directs reports to long-extinct
upstream.

Revision 1.167 / (download) - annotate - [select for diffs], Sat Nov 21 21:58:46 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.166: +3 -3 lines
Diff to previous 1.166 (colored)

"one" -> "one or more"

Revision 1.166 / (download) - annotate - [select for diffs], Mon Nov 9 22:01:51 2015 UTC (8 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.165: +3 -2 lines
Diff to previous 1.165 (colored)

add missing NAME entries; ok schwarze

Revision 1.165 / (download) - annotate - [select for diffs], Fri Oct 30 15:16:05 2015 UTC (8 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored)

zap trailing whitespace;

Revision 1.164 / (download) - annotate - [select for diffs], Fri Oct 30 13:48:11 2015 UTC (8 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.163: +14 -9 lines
Diff to previous 1.163 (colored)

Try to clarify the fc section a tad; fc apprently stands for "fix command".
Also the "fc -e -" syntax is obsoleted by "fc -s".  OK tedu@

Revision 1.163 / (download) - annotate - [select for diffs], Fri Oct 30 03:13:52 2015 UTC (8 years, 7 months ago) by guenther
Branch: MAIN
Changes since 1.162: +4 -4 lines
Diff to previous 1.162 (colored)

'fc -e -' is deprecated in favor of 'fc -s', so update the built-in alias

ok millert@

Revision 1.162 / (download) - annotate - [select for diffs], Sat Oct 17 21:06:23 2015 UTC (8 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.161: +3 -3 lines
Diff to previous 1.161 (colored)

add missing underscore; from theo buehler

Revision 1.161 / (download) - annotate - [select for diffs], Mon Sep 14 20:06:58 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.160: +24 -42 lines
Diff to previous 1.160 (colored)

Avoid .Ns right after .Pf, it's pointless.
In some cases, do additional cleanup in the immediate vicinity.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Jul 4 13:27:04 2015 UTC (8 years, 11 months ago) by feinerer
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.159: +4 -4 lines
Diff to previous 1.159 (colored)

Use "alternation" consistently

ok jmc@

Revision 1.159 / (download) - annotate - [select for diffs], Wed Mar 25 12:10:52 2015 UTC (9 years, 2 months ago) by jca
Branch: MAIN
Changes since 1.158: +6 -3 lines
Diff to previous 1.158 (colored)

Bind the Delete key (ESC[3~) to delete-char-forward

ok mpi@

Revision 1.158 / (download) - annotate - [select for diffs], Sun Mar 15 14:33:21 2015 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.157: +4 -2 lines
Diff to previous 1.157 (colored)

from zhuk: paths not beginning dot (as well as slash) use CDPATH;

Revision 1.157 / (download) - annotate - [select for diffs], Fri Mar 13 19:58:40 2015 UTC (9 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.156: +5 -5 lines
Diff to previous 1.156 (colored)

remove the first comma from constructs like ", and," and ", or,": you can use
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;

Revision 1.156 / (download) - annotate - [select for diffs], Fri Jan 16 15:32:32 2015 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.155: +5 -5 lines
Diff to previous 1.155 (colored)

remove useless escaping; mandoc warned about some of this

Revision 1.155 / (download) - annotate - [select for diffs], Tue Dec 9 15:37:13 2014 UTC (9 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.154: +6 -2 lines
Diff to previous 1.154 (colored)

put back some information what the character classes actually mean;
while here, remove the lie that regex(3) character classes would
depend on the locale;
ok jmc@

Revision 1.154 / (download) - annotate - [select for diffs], Tue Dec 9 14:39:37 2014 UTC (9 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.153: +2 -4 lines
Diff to previous 1.153 (colored)

no more ctype(3);

Revision 1.153 / (download) - annotate - [select for diffs], Sun Aug 17 07:15:41 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.152: +8 -8 lines
Diff to previous 1.152 (colored)

update the built-ins list:
- "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

Revision 1.152 / (download) - annotate - [select for diffs], Wed Feb 12 16:28:13 2014 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.151: +18 -7 lines
Diff to previous 1.151 (colored)

missing .An macros, based on a patch from Jan Stary <hans at stare dot cz>

Revision 1.151 / (download) - annotate - [select for diffs], Tue Jan 28 14:16:59 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.150: +14 -11 lines
Diff to previous 1.150 (colored)

update book references;
From: Jan Stary
tweaked a bit by myself

Revision 1.150 / (download) - annotate - [select for diffs], Mon Jan 20 05:07:48 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.149: +4 -7 lines
Diff to previous 1.149 (colored)

Obvious .Xr fixes, found while testing mandocdb(8).

Revision 1.149 / (download) - annotate - [select for diffs], Wed Dec 18 13:53:11 2013 UTC (10 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.148: +2 -3 lines
Diff to previous 1.148 (colored)

Remove artificial limit on the max array index.
Adapted from a bitrig commit from Martin Natano.
OK zhuk@

Revision 1.148 / (download) - annotate - [select for diffs], Wed Sep 4 15:49:18 2013 UTC (10 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.147: +14 -5 lines
Diff to previous 1.147 (colored)

Add a proper suspend builtin that saves/restores the tty and pgrp
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@

Revision 1.147 / (download) - annotate - [select for diffs], Thu Jun 13 19:43:09 2013 UTC (11 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.146: +7 -4 lines
Diff to previous 1.146 (colored)

Document correct interaction of -e flag with && and ||.  OK jmc@

Revision 1.146 / (download) - annotate - [select for diffs], Mon Mar 18 11:10:52 2013 UTC (11 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.145: +6 -11 lines
Diff to previous 1.145 (colored)

Keep documentation in sync with reality and update binding examples.
This should have been part of the keybinding rewrote when support for
multi-character sequences has been added. Pointed out by mikeb@

Revision 1.145 / (download) - annotate - [select for diffs], Thu Jan 17 21:20:25 2013 UTC (11 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.144: +2 -3 lines
Diff to previous 1.144 (colored)

remove some uesless Pp;

Revision 1.144 / (download) - annotate - [select for diffs], Sun Jul 8 08:13:20 2012 UTC (11 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.143: +14 -2 lines
Diff to previous 1.143 (colored)

Document ${var[@]} and ${var[*]}

ok espie@

Revision 1.143 / (download) - annotate - [select for diffs], Tue Jun 19 16:41:00 2012 UTC (11 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.142: +3 -2 lines
Diff to previous 1.142 (colored)

for arithmetic expressions, note that:
+A parameter that is NULL or unset evaluates to 0.

original diff from robert peichaer
this version from naddy

Revision 1.142 / (download) - annotate - [select for diffs], Mon Apr 30 03:51:29 2012 UTC (12 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.141: +3 -4 lines
Diff to previous 1.141 (colored)

generalise ksh keybinding system - bindings are no longer limited in
length and need not start with ESC or ^X; patch from marco@ feedback mpi@

Revision 1.141 / (download) - annotate - [select for diffs], Sat Sep 3 22:59:08 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.140: +7 -7 lines
Diff to previous 1.140 (colored)

make -column lists pretty again;

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.

Revision 1.140 / (download) - annotate - [select for diffs], Sat Apr 23 10:14:59 2011 UTC (13 years, 1 month ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.139: +3 -8 lines
Diff to previous 1.139 (colored)

improve line breaking in SYNOPSIS now that semantics of the .Bk macro
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@

Revision 1.139 / (download) - annotate - [select for diffs], Wed Mar 9 09:30:39 2011 UTC (13 years, 3 months ago) by okan
Branch: MAIN
Changes since 1.138: +5 -2 lines
Diff to previous 1.138 (colored)

substitute '~' for $HOME in the \W prompt case; matches bash's behavior.

feedback from Dan Harnett

OK deraadt@

Revision 1.138 / (download) - annotate - [select for diffs], Mon Sep 20 07:41:17 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.137: +7 -7 lines
Diff to previous 1.137 (colored)

according to ingo, it isn;t a problem to have empty [BDS]q macros, so
revert that part of yesterday's diffs;

Revision 1.137 / (download) - annotate - [select for diffs], Sat Sep 18 19:25:05 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.136: +31 -20 lines
Diff to previous 1.136 (colored)

some macro cleanup:
- remove some old groff workarounds in SYNOPSIS
- avoid "Op ... Oc" constructions
- avoid empty Sq/Dq
- change some incorrect Xr

Revision 1.136 / (download) - annotate - [select for diffs], Thu Jul 15 20:04:35 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.135: +7 -7 lines
Diff to previous 1.135 (colored)

When the first argument or arguments of a macro are opening delimiters
(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@

Revision 1.135 / (download) - annotate - [select for diffs], Mon Jul 12 16:26:45 2010 UTC (13 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.134: +6 -5 lines
Diff to previous 1.134 (colored)

ksh.1: add ((, )), ]], and `name' to the list of reserved words for compounds
sh.1: add ]] and `name' to the list; additionally document the commands
`select' (requested by Ross L Richardson) and [[

ok millert sobrado

Revision 1.134 / (download) - annotate - [select for diffs], Mon May 10 21:04:54 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.133: +3 -3 lines
Diff to previous 1.133 (colored)

tweak previous;

Revision 1.133 / (download) - annotate - [select for diffs], Mon May 10 18:28:21 2010 UTC (14 years, 1 month ago) by kili
Branch: MAIN
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored)

unset doesn't fail except for read-only variables and functions

ok guenther@

Revision 1.132 / (download) - annotate - [select for diffs], Sat Mar 27 09:10:01 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.131: +3 -3 lines
Diff to previous 1.131 (colored)

`b' and `c' arguments to mknod are not optional; from LEVAI Daniel
c_sh.c part from sobrado;

ok millert guenther

Revision 1.131 / (download) - annotate - [select for diffs], Fri Feb 26 03:32:39 2010 UTC (14 years, 3 months ago) by william
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.130: +3 -3 lines
Diff to previous 1.130 (colored)

Array indices are limited to 0 through 10239 now.

ok jmc deraadt

Revision 1.130 / (download) - annotate - [select for diffs], Thu Feb 25 13:45:54 2010 UTC (14 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.129: +4 -4 lines
Diff to previous 1.129 (colored)

get rid of overlapping blocks discouraged by mdoc.samples(7);
found by and unbreaking the build with mandoc(1);
"fine" jmc@ sobrado@

Revision 1.129 / (download) - annotate - [select for diffs], Thu May 28 06:09:06 2009 UTC (15 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.128: +6 -6 lines
Diff to previous 1.128 (colored)

fix missing bracket by slightly rewriting; from Alan R. S. Bueno

Revision 1.128 / (download) - annotate - [select for diffs], Fri Mar 6 12:28:36 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.127: +20 -3 lines
Diff to previous 1.127 (colored)

after some discussion with millert, pull in the character class info
from glob(7) to the shell pages - they have their own glob stuff,
and pointing to glob(7) is just not helpful.

ok millert

Revision 1.127 / (download) - annotate - [select for diffs], Thu Mar 5 15:13:30 2009 UTC (15 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.126: +3 -3 lines
Diff to previous 1.126 (colored)

Add glob(7) and refer to it.  OK jmc@ sobrado@

Revision 1.126 / (download) - annotate - [select for diffs], Tue Mar 3 20:01:01 2009 UTC (15 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.125: +2 -5 lines
Diff to previous 1.125 (colored)

Add POSIX character class support ([:alpha:] and friends) to ksh globbing.
OK deraadt@ krw@ jmc@ sobrado@

Revision 1.125 / (download) - annotate - [select for diffs], Sat Feb 7 23:15:28 2009 UTC (15 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.124: +5 -4 lines
Diff to previous 1.124 (colored)

some tweaks for previous that got missed;

Revision 1.124 / (download) - annotate - [select for diffs], Sat Feb 7 07:24:37 2009 UTC (15 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.123: +16 -2 lines
Diff to previous 1.123 (colored)

Make built-in echo behave according to POSIX when set -o posix is in effect:
the only option is -n, and only one of those is parsed.

diff from Ingo Schwarze
ok otto@ kili@; manpage changes ok jmc@

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jan 29 23:27:26 2009 UTC (15 years, 4 months ago) by jaredy
Branch: MAIN
Changes since 1.122: +4 -3 lines
Diff to previous 1.122 (colored)

pass "xerrok" status across the execution call stack to more closely
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.

Revision 1.122 / (download) - annotate - [select for diffs], Sat May 17 23:31:52 2008 UTC (16 years ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

documentation tweaks.

ok (some time ago) jmc@

Revision 1.121 / (download) - annotate - [select for diffs], Fri Mar 21 12:51:19 2008 UTC (16 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.120: +6 -11 lines
Diff to previous 1.120 (colored)

Make ulimit able to get and set multiple limits in a single invocation
like bash and zsh do.  Requested by espie@, OK deraadt@

Revision 1.120 / (download) - annotate - [select for diffs], Thu May 31 20:47:44 2007 UTC (17 years ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.119: +4 -5 lines
Diff to previous 1.119 (colored)

Only process ENV when in interactive mode as SU says. Started by
tedu to fix make -j, SU thing spotted by naddy@; ok millert@ @tedu
jmc@ for the man page bit.

Revision 1.119 / (download) - annotate - [select for diffs], Thu May 31 19:19:14 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored)

convert to new .Dd format;

Revision 1.118 / (download) - annotate - [select for diffs], Thu Nov 30 08:47:58 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.117: +5 -5 lines
Diff to previous 1.117 (colored)

typos; from alf schlichting

Revision 1.117 / (download) - annotate - [select for diffs], Thu Aug 3 11:22:05 2006 UTC (17 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

comment fix; from tamas tevesz

Revision 1.116 / (download) - annotate - [select for diffs], Wed Jul 26 10:13:25 2006 UTC (17 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.115: +5 -3 lines
Diff to previous 1.115 (colored)

clarifications for OPTIND:

hunk #1 from tamas tevesz;
hunk #2 from otto;

ok otto

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jun 1 09:31:12 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.114: +13 -16 lines
Diff to previous 1.114 (colored)

simplify the PS1 section somewhat by moving the ! and \! stuff together;
ok otto

Revision 1.114 / (download) - annotate - [select for diffs], Tue May 30 14:43:45 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.113: +6 -1 lines
Diff to previous 1.113 (colored)

document some advice when \$ is part of your prompt;
from otto and myself

Revision 1.113 / (download) - annotate - [select for diffs], Mon May 29 18:22:24 2006 UTC (18 years ago) by otto
Branch: MAIN
Changes since 1.112: +1 -3 lines
Diff to previous 1.112 (colored)

Implement \$ and \# expansion for PS1. Whoever thought it a clever
idea to assign a special meaning to "\$" -- two chars that are already
(very) special -- deserves a spanking.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Apr 22 14:10:36 2006 UTC (18 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

back out last - it was not a command line prompt;
thanks matthias kilian

Revision 1.111 / (download) - annotate - [select for diffs], Fri Apr 21 12:17:27 2006 UTC (18 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

missing command line prompt;

Revision 1.110 / (download) - annotate - [select for diffs], Tue Mar 7 09:31:02 2006 UTC (18 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.109: +7 -9 lines
Diff to previous 1.109 (colored)

simplify the description of what a restricted shell is:
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

Revision 1.109 / (download) - annotate - [select for diffs], Tue Dec 6 20:40:02 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.108: +4 -3 lines
Diff to previous 1.108 (colored)

make the PS1 section a little easier to read;

Revision 1.108 / (download) - annotate - [select for diffs], Wed Nov 30 12:16:04 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.107: +10 -1 lines
Diff to previous 1.107 (colored)

document root PS1 feature:

from matthias kilian (pr #4924), but slightly tweaked version of his diff;
ok otto

Revision 1.107 / (download) - annotate - [select for diffs], Wed Nov 16 12:49:21 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.106: +34 -3 lines
Diff to previous 1.106 (colored)

document the procedure for providing a startup file for interactive
(but non-login) shells;

document /etc/ksh.kshrc and sort FILES;

fix + ok otto@

Revision 1.106 / (download) - annotate - [select for diffs], Wed Oct 12 19:52:56 2005 UTC (18 years, 8 months ago) by bernd
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

document new max array size

ok otto@

Revision 1.105 / (download) - annotate - [select for diffs], Fri Oct 7 09:14:28 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.104: +26 -5 lines
Diff to previous 1.104 (colored)

brief description of mknod built-in;
add mknod to list of (regular ksh) built-ins;

ok otto@

Revision 1.104 / (download) - annotate - [select for diffs], Thu Oct 6 06:39:35 2005 UTC (18 years, 8 months ago) by otto
Branch: MAIN
Changes since 1.103: +18 -1 lines
Diff to previous 1.103 (colored)

Introducing mknod as a built-in. It might be against the unix
philosophy, but in this case it's worth it. ok deraadt@

Revision 1.103 / (download) - annotate - [select for diffs], Wed Sep 7 07:38:51 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.102: +1 -3 lines
Diff to previous 1.102 (colored)

LINES and \\ in PS1 prompt are implemented, so remove information
which says they are not;

from matthias kilian (pr #4476);
ok otto@

Revision 1.102 / (download) - annotate - [select for diffs], Sun Aug 21 17:40:42 2005 UTC (18 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.101: +6 -6 lines
Diff to previous 1.101 (colored)

Comment out description for 'ulimit -v' since we don't support
RLIMIT_VMEM / RLIMIT_AS at the moment.  Support for those may
go in post-3.8.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Aug 1 19:29:57 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.100: +1 -6 lines
Diff to previous 1.100 (colored)

more `version' removal;
ok otto@

Revision 1.100 / (download) - annotate - [select for diffs], Mon Aug 1 08:12:30 2005 UTC (18 years, 10 months ago) by otto
Branch: MAIN
Changes since 1.99: +3 -10 lines
Diff to previous 1.99 (colored)

Document ^V change from version to quote command

Revision 1.99 / (download) - annotate - [select for diffs], Wed May 25 16:52:06 2005 UTC (19 years ago) by jaredy
Branch: MAIN
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 (colored)

add missing detail from IFS example

From PR4220/TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>

Revision 1.98 / (download) - annotate - [select for diffs], Thu May 12 09:18:24 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.97: +3 -2 lines
Diff to previous 1.97 (colored)

.Xr script 7

Revision 1.97 / (download) - annotate - [select for diffs], Fri Mar 4 11:50:06 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.96: +4 -1 lines
Diff to previous 1.96 (colored)

document that $HOME is shown as `~' for PS1 \w substitutions;
diff from niall o'higgins, pr 4132 (slightly reworded);

ok otto@

Revision 1.96 / (download) - annotate - [select for diffs], Fri Feb 18 09:01:49 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

sort options to echo builtin;

Revision 1.95 / (download) - annotate - [select for diffs], Wed Feb 16 22:54:02 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.94: +18 -1 lines
Diff to previous 1.94 (colored)

a note about why we have both EDITOR and VISUAL env vars;
ok otto@ jaredy@

Revision 1.94 / (download) - annotate - [select for diffs], Wed Feb 16 12:35:10 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.93: +12 -3 lines
Diff to previous 1.93 (colored)

document that `emacs' is the default editing mode, and that as well
as being set explicitly w/ `set', modes can also be set using
EDITOR and VISUAL;

ok jaredy@ otto@

Revision 1.93 / (download) - annotate - [select for diffs], Tue Feb 8 17:42:49 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.92: +4 -3 lines
Diff to previous 1.92 (colored)

oops, missed a prompt;

Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 8 17:39:33 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.91: +8 -8 lines
Diff to previous 1.91 (colored)

use command prompts and literal for commands;

Revision 1.91 / (download) - annotate - [select for diffs], Tue Feb 8 17:28:52 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.90: +1532 -1443 lines
Diff to previous 1.90 (colored)

big overhaul of these pages, to make them clearer to read;
various other issues fixed along the way;

lots of stuff from jaredy@ in here too..

Revision 1.90 / (download) - annotate - [select for diffs], Sat Feb 5 12:36:21 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.89: +8 -1 lines
Diff to previous 1.89 (colored)

note that symlinks in test file are followed, except -h and -L
(just like test(1) does);

from paul de weerd;

Revision 1.89 / (download) - annotate - [select for diffs], Wed Feb 2 07:53:01 2005 UTC (19 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.88: +14 -1 lines
Diff to previous 1.88 (colored)

Introduce POSIX hex and octal (0x... and 0...) constants in arithmetic
expressions.  Work by Matthias Kilian, based on an old diff by myself.
Note: MAKEDEV should be updated. Tested by many, thanks.

ok millert@ deraadt@

Revision 1.88 / (download) - annotate - [select for diffs], Wed Jan 19 19:32:02 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

typo;

Revision 1.87 / (download) - annotate - [select for diffs], Wed Jan 19 17:15:19 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

although the description for the `comment' bind was in the page,
the bind itself (^[#) was missing;

Revision 1.86 / (download) - annotate - [select for diffs], Mon Jan 17 09:59:02 2005 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

typo;

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jan 10 11:06:50 2005 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

typo;

Revision 1.84 / (download) - annotate - [select for diffs], Wed Dec 22 18:58:44 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.83: +2 -29 lines
Diff to previous 1.83 (colored)

These man pages are not derived from UCB and are actually public domain.
Verified with aaron@ who did the conversion from man -> mdoc.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Dec 22 18:48:56 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.82: +22 -14 lines
Diff to previous 1.82 (colored)

Our times(3) just calls getrusage(2) and gettimeofday(2), converting seconds
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@

Revision 1.82 / (download) - annotate - [select for diffs], Thu Dec 16 02:10:59 2004 UTC (19 years, 5 months ago) by jaredy
Branch: MAIN
Changes since 1.81: +279 -192 lines
Diff to previous 1.81 (colored)

- document IFS behavior changes
- grammar, punctuation, xref, mdoc tweaks
- sort keywords
- indent example displays
- minimize against diffing between sh.1tbl
- document set -o sh
- tweak the displays of some editing and builtin commands
- rework some operator descriptions

ok jmc

Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 12 17:37:46 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

escape punctuation;

Revision 1.80 / (download) - annotate - [select for diffs], Sun Dec 12 06:53:13 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.79: +7 -1 lines
Diff to previous 1.79 (colored)

csh-style ! history completion, which can be activated by using
	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

Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 4 07:05:13 2004 UTC (19 years, 6 months ago) by jaredy
Branch: MAIN
Changes since 1.78: +10 -7 lines
Diff to previous 1.78 (colored)

minor tweaks; ok jmc

Revision 1.78 / (download) - annotate - [select for diffs], Mon Nov 8 23:42:02 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.77: +11 -1 lines
Diff to previous 1.77 (colored)

add a more complex PS1 example, which does not use the new backslash
sequences;

from naddy@, via deraadt@

Revision 1.77 / (download) - annotate - [select for diffs], Sat Nov 6 01:07:41 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.76: +4 -3 lines
Diff to previous 1.76 (colored)

correct my description of \[ and \]
found by (and ok) deraadt@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Nov 5 23:40:51 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.75: +102 -3 lines
Diff to previous 1.75 (colored)

document PS1 expansions;

Revision 1.75 / (download) - annotate - [select for diffs], Fri Nov 5 14:56:31 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.74: +3 -2 lines
Diff to previous 1.74 (colored)

incorrect markup was messing the description of IFS. i've rearranged it
slightly so that no one (me, most likely) falls for it again.

also, make sh(1)'s IFS description a little more consistent.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Nov 3 19:19:39 2004 UTC (19 years, 7 months ago) by jaredy
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

HISTSIZE cranked to 500

Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 28 04:55:51 2004 UTC (19 years, 7 months ago) by jaredy
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

fix spacing after period at EOL.  from ray@cyth.net

Revision 1.72 / (download) - annotate - [select for diffs], Sat Aug 7 16:46:58 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.71: +6 -2 lines
Diff to previous 1.71 (colored)

Document ulimit -v; mickey@ OK

Revision 1.71 / (download) - annotate - [select for diffs], Wed Aug 4 20:01:44 2004 UTC (19 years, 10 months ago) by jaredy
Branch: MAIN
Changes since 1.70: +65 -42 lines
Diff to previous 1.70 (colored)

- mdoc and macro fixes and simplification
- punctuation and grammar fixes
- show prompts for example shell commands

help and ok jmc

Revision 1.70 / (download) - annotate - [select for diffs], Sun May 9 06:07:42 2004 UTC (20 years, 1 month ago) by otto
Branch: MAIN
Changes since 1.69: +15 -6 lines
Diff to previous 1.69 (colored)

Document new behavior of $RANDOM. ok deraadt@

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 30 06:57:17 2004 UTC (20 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

typo;
from ray at cyth dot net (PR 3762);

Revision 1.68 / (download) - annotate - [select for diffs], Mon Mar 15 08:56:56 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

missing commas;

Revision 1.67 / (download) - annotate - [select for diffs], Mon Mar 15 08:52:12 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

reversed word -> reserved word;
from Karl O. Pinc

Revision 1.66 / (download) - annotate - [select for diffs], Thu Feb 19 22:20:05 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

escape full stops where necessary to kill erroneous double spaces;
softly, softly, catchy monkey...

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jan 23 23:08:45 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.64: +15 -15 lines
Diff to previous 1.64 (colored)

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jan 15 22:08:45 2004 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

escape full stops properly to avoid double spaces;

Revision 1.63 / (download) - annotate - [select for diffs], Sat Dec 27 20:35:12 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

- revert a typo introduced when this page was mdoc'ed
- use .Sq rather than .Dq for single letters

Revision 1.62 / (download) - annotate - [select for diffs], Mon Dec 22 11:54:02 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.61: +14 -1 lines
Diff to previous 1.61 (colored)

note that `&&' and `||' are left-associative;
from vax at carolina dot rr com (NetBSD PR 23814);

agreed (in principal) millert@ deraadt@

Revision 1.61 / (download) - annotate - [select for diffs], Fri Dec 12 22:35:07 2003 UTC (20 years, 6 months ago) by naddy
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

typo; ok jmc@

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 28 15:20:32 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.59: +17 -17 lines
Diff to previous 1.59 (colored)

standard section order;

Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 22 19:57:32 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.58: +9 -3 lines
Diff to previous 1.58 (colored)

macros with too many args;

Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 4 14:21:43 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

escapes in the wrong place;

Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 2 18:09:43 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.56: +13 -13 lines
Diff to previous 1.56 (colored)

escape punctuation;
ok deraadt@

Revision 1.56 / (download) - annotate - [select for diffs], Mon Sep 1 15:47:40 2003 UTC (20 years, 9 months ago) by naddy
Branch: MAIN
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (colored)

In emacs editing mode, ksh by default interprets a set 8th bit as
meta prefix, i.e. all characters with the top bit set (>= 0x80) are
taken as commands and cannot be entered literally.

Introduce a new shell option, emacs-usemeta, that allows to toggle
this behavior.  The default is the traditional behavior; to enter
8-bit characters use "set +o emacs-usemeta".

ok fgsch@, henning@

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jul 19 08:07:35 2003 UTC (20 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

redrew -> redraw;
from Andrey Matveev.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jul 7 14:11:58 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.53: +21 -25 lines
Diff to previous 1.53 (colored)

- convert some lists to displays
- .Ql -> .Sq where necessary
- remove some .Pp's before lists
- add missing .El
- remove some wrong macros

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jun 6 10:05:52 2003 UTC (21 years ago) by jmc
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

liternal -> literal;

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:08 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.51: +2 -6 lines
Diff to previous 1.51 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 28 06:27:36 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.50: +12 -12 lines
Diff to previous 1.50 (colored)

typos;

suggestions, corrections and ok millert@

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 20 07:30:37 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

typos;

from NetBSD (Soren Jacobsen)
ok millert@

Revision 1.49 / (download) - annotate - [select for diffs], Fri Mar 14 11:05:55 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.48: +9 -6 lines
Diff to previous 1.48 (colored)

better document how getopts handles options;
plus typos;
from J.A. Neitzel;

Fixes PR 3141;
ok millert@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Sep 18 07:33:47 2002 UTC (21 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

fix Xr refs; frisco@blackant.net

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 24 19:15:11 2001 UTC (22 years, 8 months ago) by camield
Branch: MAIN
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored)

The 'newgrp' alias is explicitly disabled in our ksh, so do not mention
it in the manpage.

ok millert@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Sep 2 14:05:58 2001 UTC (22 years, 9 months ago) by aaron
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Typo; addresses pr/2038 from tim@robbins.dropbear.id.au

Revision 1.45 / (download) - annotate - [select for diffs], Sat Aug 25 21:26:29 2001 UTC (22 years, 9 months ago) by heko
Branch: MAIN
Changes since 1.44: +1 -10 lines
Diff to previous 1.44 (colored)

OpenBSD doesn't have RLIMIT_VMEM or RLIMIT_SWAP, so we don't
have ulimit -v or -w either.
ok millert@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 23 05:21:51 2001 UTC (22 years, 9 months ago) by pvalchev
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

fix a typo; tim@robbins.dropbear.id.au

Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 3 19:19:01 2001 UTC (22 years, 10 months ago) by aaron
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Typo; heko@iki.fi

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 31 10:35:09 2001 UTC (22 years, 10 months ago) by hugh
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Documentation fixes per PR 1979 by Kaspar Toomik.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 23 14:42:13 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

more .%A handling; bk@rt.fm

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 28 15:36:08 2001 UTC (23 years ago) by aaron
Branch: MAIN
Changes since 1.39: +8 -8 lines
Diff to previous 1.39 (colored)

Various fixes; mpech@prosoft.org.lv

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 12 02:51:09 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.38: +12 -12 lines
Diff to previous 1.38 (colored)

Insert some missing commas.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 20 05:47:14 2001 UTC (23 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Typo (introduced by me in mdoc conversion of Rev 1.15); d@

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 16 14:18:39 2001 UTC (23 years, 4 months ago) by aaron
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

typo; bk@rt.fm

Revision 1.36 / (download) - annotate - [select for diffs], Thu Oct 19 18:29:27 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (colored)

Where we talk about $$, also say mention that PIDs are not safe to use for
generating temporary file names, and point people to mktemp(1) instead.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 6 05:42:41 2000 UTC (23 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

fix another, similar typo

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 6 05:36:51 2000 UTC (23 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

typo

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 21 14:06:54 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Sometimes it is confusing when a sentence begins with lowercase; d@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 17 18:48:43 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.31: +15 -15 lines
Diff to previous 1.31 (colored)

Try to synchronize the ksh(1) and sh(1) man pages somewhat.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 17 18:15:16 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.30: +758 -462 lines
Diff to previous 1.30 (colored)

Remove hard sentence breaks.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 14 20:25:46 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.29: +12 -6 lines
Diff to previous 1.29 (colored)

Better mdoc formatting.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Nov 20 07:58:02 1999 UTC (24 years, 6 months ago) by dugsong
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

'braceexapnd' -> 'braceexpand'

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 17 19:42:25 1999 UTC (24 years, 7 months ago) by aaron
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Minor formatting nits.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Oct 16 20:31:33 1999 UTC (24 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored)

Formatting fix.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 23 23:25:10 1999 UTC (24 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

cetain -> certain; kwesterback@home.com

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 4 19:11:14 1999 UTC (24 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Turn <tab> completion on by default for people used to bash, tcsh, etc...

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 14 15:18:49 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.23: +139 -33 lines
Diff to previous 1.23 (colored)

update man page to pdksh v5.2.14

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 5 19:50:53 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.22: +66 -33 lines
Diff to previous 1.22 (colored)

mdoc'ify syntax of the more complicated commands; when I converted this man
page originally, I didn't know how to do such funky things

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 1 17:48:29 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

remove trailing spaces; missed from a previous commit

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 15 01:18:34 1999 UTC (25 years ago) by millert
Branch: MAIN
Changes since 1.20: +9 -2 lines
Diff to previous 1.20 (colored)

patches from pdksh 5.2.13.11

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 14 03:13:58 1999 UTC (25 years ago) by pjanzen
Branch: MAIN
Changes since 1.19: +79 -64 lines
Diff to previous 1.19 (colored)

Fixed a bunch of typos, grammar errors, and unclear wording in the sh
man page, and the corresponding problems in the ksh page.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 3 09:50:31 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.18: +13 -13 lines
Diff to previous 1.18 (colored)

use the hyphenated form "command-line" in the case of a compound adjective;
pjanzen@

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 30 17:44:56 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.17: +351 -247 lines
Diff to previous 1.17 (colored)

repairs

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 28 12:23:06 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.16: +186 -185 lines
Diff to previous 1.16 (colored)

be more conservative with the .Dq macro; in particular, use .Sq macros most of
the time instead when quoting 1-2 characters (makes it much easier to read);
based on a patch received awhile ago from d@

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 18 11:07:07 1999 UTC (25 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

``that that'' -> ``than that''; nash@mcs.net

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 2 23:46:53 1999 UTC (25 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.14: +4482 -3215 lines
Diff to previous 1.14 (colored)

Finally, new and improved mandoc ksh/sh man pages. This took hours, and hours,
and hours... Someone please read it and find any typos I may have missed.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 1 06:05:35 1999 UTC (25 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

obliveous -> oblivious; d@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 19 20:41:53 1999 UTC (25 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Updates from pdksh-unstable-5.2.13.7.  Most notable change is:
    trap: exit traps now executed in subshells (without explicit exit call).
See the Changelog for a full list of changes.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 29 04:09:20 1998 UTC (25 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.11: +6 -4 lines
Diff to previous 1.11 (colored)

Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions of
some that we had already fixed locally.
 o typeset -f FUNC doesn't print follows command (and expression) substitutions.
 o when re-allocating memory, too much may be copied from old memory.
 o set -o printed some options sans names.
 o emacs mode: <esc>. in very fist command causes core dump.
 o pdksh dumps core after a cd command.
 o typeset -i reports on array elements that have no value
   (at&t ksh reports on array base name - no index).
 o ulimit -ctn unlimittttted kills shell (resource exceeded).
 o ". /dev/null" says access denied.
 o flag field in aliases incorrectly changed (all flags set instead of
   clearing ISSET) in exec.c(flushcom).
 o ${#array[*]} prints largest index instead of number of (set) elements
   in an array (ksh88 does the former).
 o sys_siglist[] doesn't always have NSIG non-null entries...

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 27 02:49:24 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

preceeding -> preceding

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 7 16:44:32 1998 UTC (25 years, 9 months ago) by aaron
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

More man page fixes. Particularly fix uses of it's/its, affect/effect,
then/than and such. Other miscellaneous problems fixed across these source
files.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 1 16:38:15 1998 UTC (25 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

more man page fixes; aaron@ug.cs.dal.ca

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 24 20:50:02 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

fix spelling of separate; aaron@ug.cs.dal.ca

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 25 19:02:03 1998 UTC (25 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.6: +61 -29 lines
Diff to previous 1.6 (colored)

pdksh-5.2.13 + local changes

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 27 20:20:41 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)

do not nest RS/RE

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 18 03:04:54 1998 UTC (26 years, 3 months ago) by marc
Branch: MAIN
Changes since 1.4: +10 -6 lines
Diff to previous 1.4 (colored)

Document what sh/ksh does when the cd command matches a non empty path
in the CDPATH environment variable.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 17 18:53:46 1998 UTC (26 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.3: +2 -8 lines
Diff to previous 1.3 (colored)

Don't document ulimit flags that don't exist

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 21 08:18:19 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

sync

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 21 07:59:30 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

Update to 5.2.12.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 1 09:05:21 1996 UTC (27 years, 8 months ago) by downsj
Branch: MAIN

Move ksh.1 to ksh.1tbl, fixing all of it's problems in one massive paradigm
shift.

Or something like that.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.