wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
4cc7cdbc5c
New sentence, new line; bump date for last change.
2003-02-12 18:58:50 +00:00
gmcgarry
8a0ced42ec
Introduce LANG environment variable and Xref to nls(7).
...
Comment out the statement: "We expect POSIX conformance
by the time 4.4BSD is released."
2003-02-12 02:55:14 +00:00
wiz
6ce643e53c
Fix indentation of continuation of first line in SYNOPSIS.
2003-01-23 18:32:07 +00:00
wiz
e254f6a849
More markup, more commas, less typos.
2003-01-22 22:05:45 +00:00
dsl
e314f958bd
Support command -p, -v and -V as posix
...
Stop temporary PATH assigments messing up hash table
Fix sh -c -e "echo $0 $*" -a x (as posix)
(agreed by christos)
2003-01-22 20:36:03 +00:00
uebayasi
80a4544dcd
trap '' SIGINT -> trap '' INT.
2002-12-28 05:08:27 +00:00
kleink
9273e5b038
Another it's -> its.
2002-12-19 18:04:41 +00:00
uebayasi
60ad876a43
`` [n1]>&n2 Duplicate standard output (or n1) _TO_ n2.''
2002-12-12 11:50:40 +00:00
wiz
1da66f1f4c
filesystem -> file system, automaticly -> automatically.
2002-10-02 10:01:46 +00:00
wiz
2e6e2165c0
Use more mdoc, particularly to get rid of some \*[Lt] and \*[Gt].
2002-10-01 15:06:31 +00:00
wiz
14dfaa4b03
New policy: New sentences start on a new line.
...
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
bjh21
6f786375c4
Implement sh -a (allexport). Code (all two lines of it) from FreeBSD
...
(FreeBSD var.c 1.13, sh.1 1.27).
2002-05-15 19:43:29 +00:00
christos
f629aa28d9
implement noclobber. From Ben Harris, with minor tweaks from me. Two
...
unimplemented comments to go. Go Ben!
2002-05-15 16:33:35 +00:00
christos
eac955176d
Implement unset variable error messages from Ben Harris.
2002-05-15 14:59:21 +00:00
lukem
b799ed2973
first variable argument to "read" is not optional
2002-02-24 21:41:52 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
5739c48f68
Punctuation nits, drop unnecessary .Pps, sort sections.
2001-12-20 20:07:40 +00:00
wiz
242b959069
Don't xref set(1) and case(1), since they are builtins and we don't
...
have separate man pages for them.
Xref passwd 5 instead of 4, environ 7 instead of 5, and comment out xref
to profile(4), which we don't have.
Improve markup of SYNOPSIS.
Some whitespace fixes while I'm here.
2001-04-03 10:56:03 +00:00
toddpw
e08886d505
Correct {list;} example and fix formatting/typo in the operator lists.
2001-04-01 02:15:45 +00:00
wulf
8d23cb0373
Extended functionality of the trap builtin, which now closely follows
...
POSIX recommendations.
- trap now accepts signal names and signal numbers
e.g. INT, SIGINT, 2
- added option -l that outputs a list of valid signals
- added signal EXIT to list of valid signals
- a `-' in the action part will reset specified signal to their
default behaviour
- changed standard output format to make it suitable as an input
to another shell that achieves the same trapping results
2001-03-18 04:04:23 +00:00
christos
212627911f
fix typo.
2000-11-20 17:48:05 +00:00
christos
fb16d6d0ec
Add an example on how to use getopts, stolen from the getopt manual page :-)
2000-11-20 16:59:56 +00:00
phil
34ad57a779
.Bl takes parameter "-offset indent", not "-indent".
2000-09-21 21:04:56 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac
Add 'RETURN VALUE' section header.
2000-08-28 02:11:04 +00:00
jhawk
9d53f2aee6
Various mandoc updates to the Builtins
...
section; mostly .Ic, a few other nits.
2000-07-18 01:55:48 +00:00
jhawk
45a8e6b7e3
Note the meaning of 'trap 0' (execute on exit from shell)
2000-07-17 21:18:47 +00:00
hubertf
a8bbeb8a4b
Add under which conditions the "read" builtin returns success/failure.
...
Suggested in PR 8813 by Eric Mumpower <nocturne@arepa.com>
1999-11-16 22:03:25 +00:00
bouyer
d406538de6
xref sysctl(8) (for proc.<pid>.rlimits)
1999-09-28 14:54:41 +00:00
mjl
4c5c12b3f0
Mention -c option to sh(1), noticed by Matthew Aldous in PR/8499.
1999-09-27 19:34:25 +00:00
christos
f914977fae
add -q in the synopsis line
1999-07-06 14:01:01 +00:00
ross
4b1d9297dc
Make the `...' actually appear in the case/esac syntax section.
...
Fix a space botch in the $@ example.
Kill warnings caused by the effective but wrong use of \[ and \] to
perform the function of \&[ and \&].
1999-03-23 02:29:29 +00:00
cjs
9063efaca0
Add -q option, which when used with -v and/or -x, turns off the tracing
...
during the execution of /etc/profile, .profile and $ENV.
1999-02-04 00:27:07 +00:00
kleink
f71d010d24
Add support for the export and readonly -p option.
1999-01-28 18:11:50 +00:00
garbled
f33f4be925
Massive fixup:
...
Rewrite man page in mandoc format rather than nasty man format.
Fix a ton of parsing errors, and generate proper .Xr's.
document all known environment variables.
suggest ksh rather than bash.
The last two fix PR #1966 . Wheee!
Somebody with access to the POSIX spec needs to go in here, and document
our adherence, or lack thereof.
1999-01-11 19:34:53 +00:00
msaitoh
576a5fdc92
fix some bugs
1998-11-17 14:16:32 +00:00
garbled
b4e6f9c37a
Modify to better document getopts. This fixes PR# 704. Much thanks to
...
Christos for helping me out with this.
1998-10-29 23:23:36 +00:00
ross
69228f8bd8
Small edit to n1>&n2 description.
1998-07-04 06:52:07 +00:00
kleink
3780e6aa5d
Per 1003.2, the (builtin) read utility shall treat the backslash as an
...
escape character (including line continuation), unless the `-r' option
is specified:
* adopt to this behaviour, add the `-r' option to disable it;
* remove the `-e' option, which was previously necessary to get this behaviour.
1997-11-05 14:05:28 +00:00
phil
1d304ac34c
Add a missing ) in the description of the builtin "set".
1997-07-10 23:07:04 +00:00
cjs
cddf57d923
Add documentation for ulimit command, courtsey of
...
Eric Fischer <eric@fudge.uchicago.edu>.
1997-05-23 19:40:30 +00:00
mouse
412433b44c
alternate -> alternative, per PR 2643
1997-03-08 13:26:20 +00:00
christos
680690d33c
add type builtin.
1997-02-06 23:24:52 +00:00
christos
3b66e0cada
PR/2808: Add HISTORY section and documentation of getopts. (from FreeBSD)
1996-10-16 15:20:01 +00:00
christos
4d9c694460
Apply PR#2721 from VaX#n8: make man page more lucid in places.
1996-09-02 21:28:21 +00:00
christos
07bae7eddd
Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
...
bug.
1995-05-11 21:28:33 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
christos
ad8d5369f5
I added the documented in the manual but not implemented variable expansions:
...
${#WORD}
${WORD%PAT}
${WORD%%PAT}
${WORD#PAT}
${WORD##PAT}
1995-01-23 06:33:03 +00:00
jtc
cc9fe5ba6d
Describe the : shell builtin.
...
Fixes PR #712 .
1995-01-12 23:35:56 +00:00