Jesus R. Camou
d2f90294d4
Add local' and
return' to the list of built-ins.
...
Submitted by: garys
Approved by: trhodes (mentor)
2005-11-03 00:15:19 +00:00
Stefan Farfeleder
33b222b992
Document command -v and -V.
...
Glanced at by: simon
2005-10-29 13:08:35 +00:00
Stefan Farfeleder
1b16155934
Document that read -t timeout returns 1 if the timeout elapses.
2005-10-29 08:22:09 +00:00
Stefan Farfeleder
7405365947
Elaborate on the behaviour of set -e.
2005-09-10 09:28:39 +00:00
Stefan Farfeleder
ef9791a3cc
Split the export synopsis into two lines as -p cannot be mixed with variable
...
names.
2005-09-09 21:06:03 +00:00
Ralf S. Engelschall
7b14d37fb1
fix typo: ommitted -> omitted
2005-09-06 16:08:37 +00:00
Stefan Farfeleder
a01459df60
Document that `in word ...' is optional in the for command.
2005-09-03 16:06:04 +00:00
Stefan Farfeleder
de4ad3826b
Document that unalias can be used to remove several alias names.
2005-09-02 21:15:56 +00:00
Jesus R. Camou
19162ab914
Wrap a line due to a new sentence.
...
Noticed by: simon
Approved by: trhodes (mentor)
2005-08-29 21:28:12 +00:00
Jesus R. Camou
a886288efd
o Discuss the ways to escape an alias.
...
o Fix the alias syntax lines.
o Refer to the Aliases subsection.
PR: docs/84914
Submitted by: garys
Approved by: trhodes (mentor)
MFC after: 3 days
2005-08-29 06:47:43 +00:00
Stefan Farfeleder
faa1ed35ac
Document umask's -S option.
2005-08-17 19:44:15 +00:00
Ruslan Ermilov
fb039b55dc
Sorted sections and fixed prompt (PS[12]) strings.
...
Approved by: re (blanket)
2005-06-14 08:25:00 +00:00
Ruslan Ermilov
fd50df303c
Put the description of the -c option in the right place, as
...
promised by the Argument List Processing section introduction.
What follows the option in the options list is its long name,
not its argument (as is the case for the -c option). Also
sort references in the SEE ALSO section.
Approved by: re (blanket)
2005-06-14 07:50:44 +00:00
Giorgos Keramidas
38afdcbc3c
Various sh(1) enhancements:
...
- Move the description of the ``-c string'' option closer to the option itself.
- Add an ENVIRONMENT section (1)
- Add more .Xr cross references to the SEE ALSO section.
Obtained from: NetBSD (1)
2005-04-15 14:53:29 +00:00
Giorgos Keramidas
a762afe578
Use `.Pq Ql'' to quote single characters, instead of
`.Pq Li''.
...
This makes the resulting output more aesthetically pleasing in
text-only terminals:
Reviewed by: ru
2005-03-04 13:16:50 +00:00
Giorgos Keramidas
91ee1c5df6
Add a section describing the exit status of the shell.
...
Obtained from: NetBSD
2005-03-04 12:40:07 +00:00
Warner Losh
9ddb49cbe4
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
Ruslan Ermilov
6fa13ec06f
Scheduled mdoc(7) sweep.
2005-01-09 19:54:23 +00:00
Ceri Davies
6b4bbd8a2c
Correct typo.
2005-01-04 12:44:25 +00:00
Maxim Konovalov
af5eb6fcc5
o Add a missed "." .
...
Reviewed by: ru
MFC after: 3 weeks
2004-12-02 13:13:27 +00:00
Alfred Perlstein
43d6677ba1
When listing the special $ variables, ($!, $#, etc) list them as $!
...
instead of just !, this allows one to more easily locate/understand
the section of the manpage in question.
Additional wording correction by: keramida
Reviewed by: keramida
2004-11-01 19:05:04 +00:00
Tim J. Robbins
128dc4a2e3
Document missing multibyte character handling in utilities specified
...
by POSIX.
2004-07-03 02:03:44 +00:00
Ruslan Ermilov
eccea571a7
Mechanically kill hard sentence breaks.
2004-07-02 21:04:19 +00:00
Brian Feldman
4ad8968a7f
Document the "return" built-in better: it will exit . (sources) and
...
the top-level shell instance, too.
2004-04-14 15:58:50 +00:00
Mark Murray
6195fb4102
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
Ruslan Ermilov
fe08efe680
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
Ruslan Ermilov
d74e011ff0
mdoc(7) police: A better version of the same.
...
Approved by: re (blanket)
2003-05-16 21:19:32 +00:00
Jens Schweikhardt
fbc8f8a2dc
Fix references to non-existing or obsoleted man pages.
...
PR: docs/51480 (only a small part)
Submitted by: Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
Tim J. Robbins
e9fa8fddd6
Document the -L and -P options to the cd and pwd commands as being
...
mutually exclusive. The fact that the most recent one specified on the
command line is the one that takes effect is an implementation detail and
users should not rely on this.
2003-04-12 03:20:28 +00:00
Tony Finch
1413f7de53
Improve the layout of the description of the various parameter expansion
...
modifiers. The paragraph that explains the difference between ${foo:-bar}
and ${foo-bar} etc. was not very visible.
2003-02-03 23:03:05 +00:00
Ruslan Ermilov
facc67676f
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
Ruslan Ermilov
f5d1157fd1
mdoc(7) police: markup nit.
2002-12-23 15:21:38 +00:00
Tom Rhodes
304199ce19
The code uses trapsasync, however the manual page uses asynctraps. Fix the
...
manual page to reflect the code.
PR: 45820
Submitted by: Marco Molteni <molter@tin.it>
Discussed with: tjr
2002-12-17 20:27:48 +00:00
Tony Finch
162ae3ae7f
Document trap EXIT
and trap SIGNAME
.
2002-12-17 17:31:44 +00:00
Tim J. Robbins
df9e587beb
There is a built-in command called "builtin"; spell its name correctly
...
after rev. 1.77 called it "built-in".
2002-08-24 12:41:23 +00:00
Tom Rhodes
7d971bbf29
s/filesystem/file system/ as discussed on -developers
2002-08-21 17:32:44 +00:00
Jens Schweikhardt
8eed22b1a6
Fix a few typos, among them s/builtin/built-in/ (except for the ref
...
to the builtin(1) man page.) This is for consistency with the spelling
both proposed by ispell as well as IEEE Std 1003.1-2001.
MFC after: 3 days
2002-08-21 15:05:55 +00:00
Ruslan Ermilov
9ba31ca074
mdoc(7) police: tidying.
2002-08-09 10:59:20 +00:00
Tim J. Robbins
7e1975c2b2
Add a -P/-o physical option which behaves similarly to bash/ksh's options
...
by the same name. This option makes the cd and pwd builtins behave physically
(as opposed to logically) by default.
Submitted by: fanf
2002-07-25 10:57:39 +00:00
Tim J. Robbins
088acf9001
Add a `bind' builtin command, which is simply a wrapper around libedit's
...
builtin command of the same name. This allows the key bindings for the
shell's line editor to be changed.
MFC after: 2 weeks
2002-07-23 11:50:53 +00:00
Tim J. Robbins
2babaf74b5
Implement the P1003.2 `command' builtin command, which is used to suppress
...
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
2002-07-21 06:49:14 +00:00
Tim J. Robbins
558175ca15
Document that only one of the -n and -e options may be specified for
...
sh(1)'s echo(1) builtin command.
PR: 32935, 40747
MFC after: 1 week
2002-07-20 04:39:23 +00:00
Matthew Dillon
2d41ef4b59
Fix type-o in last commit in preparation for MFC.
2002-07-02 19:06:33 +00:00
Sheldon Hearn
62df9b6286
Document addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c.
2002-06-27 16:56:45 +00:00
Tim J. Robbins
029c8ee4fa
Bring documentation on CDPATH and its effects on cd(1) back into sync with
...
reality (and POSIX): current directory isn't searched unless CDPATH has
a "." element or is unset.
PR: 38442
Submitted by: oleg dashevskii <be9@be9.ru>
MFC after: 1 week
2002-06-19 12:04:22 +00:00
Tim J. Robbins
8b34ad92a2
Document the -f and -v options of the unset builtin.
2002-06-06 04:12:50 +00:00
Tim J. Robbins
45086f8cf6
Add the SUSv3 -p ("portable") option to both the export and readonly
...
builtins. This makes export/readonly print lines in the form
"export name=value".
2002-06-06 03:57:22 +00:00
Tim J. Robbins
e5341cbb17
Quote alias values in the output of the alias(1) builtin so they are
...
suitable for re-input to the shell (SUSv3)
2002-06-04 12:59:12 +00:00
Tim J. Robbins
ad8a075902
Add -s (output PID's only) and -l (show PID's) options to the jobs(1)
...
builtin. Modify the output format to match what SUSv3 requires.
2002-05-31 14:04:23 +00:00
Ruslan Ermilov
81e9cda2c9
mdoc(7) police: tidy up the markup a bit.
2002-05-29 15:38:59 +00:00