summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
Commit message (Collapse)AuthorAgeFilesLines
* Add the POSIX option -p to the jobs builtin command. It prints the PID of thestefanf2006-10-071-3/+8
| | | | | | | | process leader for each job. Now the last specified option for the output format (-l, -p or -s) wins, previously -s trumped -l. PR: 99926 Submitted by: Ed Schouten and novel (patches modified by me)
* Markup fixes.ru2006-09-171-3/+4
|
* Tell more of the sh(1) history.yar2006-07-291-2/+17
| | | | | | Acknowledge Kenneth Almquist's contribution in AUTHORS. MFC after: 5 days
* Make it easier to find that we have test(1) built-in in sh(1).yar2006-07-261-4/+9
| | | | MFC after: 3 days
* Document the fact that 'true' and 'false' are among sh(1) built-in commands.yar2006-06-211-1/+5
| | | | MFC after: 3 days
* Implement the PS4 variable which is defined by the POSIX User Portabilitystefanf2006-06-151-3/+10
| | | | | | | | | | | | Utilities option. Its value is printed at the beginning of the line if tracing (-x) is active. PS4 defaults to the string "+ " which is compatible with the old behaviour to always print "+ ". We still need to expand variables in PS1, PS2 and PS4. PR: 46441 (part of) Submitted by: schweikh Obtained from: NetBSD
* Document that '#' starts a comment.stefanf2006-01-011-0/+7
| | | | | | | PR: 85103 Submitted by: garys Obtained from: pdksh manual Patch from: Daniel Gerzo (with changes by me)
* - Document trap's -l option and the behaviour of a missing action or a singlestefanf2005-12-081-2/+14
| | | | | | | | dash. - Discourage the omission of the action. PR: 70985 [1] Submitted by: Martin Kammerhofer
* Clarify that the echo builtin takes an arbitrary number of strings.stefanf2005-12-081-4/+3
| | | | Mention that spaces are printed between the strings.
* Add the times builtin. It reports the user and system time for the shellstefanf2005-12-041-1/+6
| | | | | | itself and its children. Instead of calling times() (as implied by POSIX) this implementation directly calls getrusage() to get the times because this is more convenient.
* -mdoc sweep.ru2005-11-171-16/+14
|
* Add `local' and `return' to the list of built-ins.jcamou2005-11-031-0/+8
| | | | | Submitted by: garys Approved by: trhodes (mentor)
* Document command -v and -V.stefanf2005-10-291-2/+39
| | | | Glanced at by: simon
* Document that read -t timeout returns 1 if the timeout elapses.stefanf2005-10-291-1/+1
|
* Elaborate on the behaviour of set -e.stefanf2005-09-101-2/+7
|
* Split the export synopsis into two lines as -p cannot be mixed with variablestefanf2005-09-091-2/+3
| | | | names.
* fix typo: ommitted -> omittedrse2005-09-061-1/+1
|
* Document that `in word ...' is optional in the for command.stefanf2005-09-031-2/+7
|
* Document that unalias can be used to remove several alias names.stefanf2005-09-021-5/+3
|
* Wrap a line due to a new sentence.jcamou2005-08-291-1/+2
| | | | | Noticed by: simon Approved by: trhodes (mentor)
* o Discuss the ways to escape an alias.jcamou2005-08-291-4/+16
| | | | | | | | | | 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
* Document umask's -S option.stefanf2005-08-171-3/+8
|
* Sorted sections and fixed prompt (PS[12]) strings.ru2005-06-141-11/+11
| | | | Approved by: re (blanket)
* Put the description of the -c option in the right place, asru2005-06-141-7/+9
| | | | | | | | | 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)
* Various sh(1) enhancements:keramida2005-04-151-10/+83
| | | | | | | | - 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)
* Use ``.Pq Ql'' to quote single characters, instead of ``.Pq Li''.keramida2005-03-041-17/+17
| | | | | | | This makes the resulting output more aesthetically pleasing in text-only terminals: Reviewed by: ru
* Add a section describing the exit status of the shell.keramida2005-03-041-0/+8
| | | | Obtained from: NetBSD
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Scheduled mdoc(7) sweep.ru2005-01-091-1/+1
|
* Correct typo.ceri2005-01-041-1/+1
|
* o Add a missed "." .maxim2004-12-021-1/+1
| | | | | Reviewed by: ru MFC after: 3 weeks
* When listing the special $ variables, ($!, $#, etc) list them as $!alfred2004-11-011-12/+16
| | | | | | | | 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
* Document missing multibyte character handling in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Mechanically kill hard sentence breaks.ru2004-07-021-94/+188
|
* Document the "return" built-in better: it will exit . (sources) andgreen2004-04-141-1/+7
| | | | the top-level shell instance, too.
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* mdoc(7) police: A better version of the same.ru2003-05-161-2/+2
| | | | Approved by: re (blanket)
* Fix references to non-existing or obsoleted man pages.schweikh2003-04-301-2/+1
| | | | | PR: docs/51480 (only a small part) Submitted by: Diomidis D. Spinellis <dds@aueb.gr>
* Document the -L and -P options to the cd and pwd commands as beingtjr2003-04-121-3/+3
| | | | | | 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.
* Improve the layout of the description of the various parameter expansionfanf2003-02-031-0/+2
| | | | | modifiers. The paragraph that explains the difference between ${foo:-bar} and ${foo-bar} etc. was not very visible.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-1/+1
|
* mdoc(7) police: markup nit.ru2002-12-231-1/+1
|
* The code uses trapsasync, however the manual page uses asynctraps. Fix thetrhodes2002-12-171-1/+1
| | | | | | | | manual page to reflect the code. PR: 45820 Submitted by: Marco Molteni <molter@tin.it> Discussed with: tjr
* Document `trap EXIT` and `trap SIGNAME`.fanf2002-12-171-1/+4
|
* There is a built-in command called "builtin"; spell its name correctlytjr2002-08-241-1/+1
| | | | after rev. 1.77 called it "built-in".
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-211-1/+1
|
* Fix a few typos, among them s/builtin/built-in/ (except for the refschweikh2002-08-211-36/+36
| | | | | | | 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
* mdoc(7) police: tidying.ru2002-08-091-36/+9
|
* Add a -P/-o physical option which behaves similarly to bash/ksh's optionstjr2002-07-251-1/+12
| | | | | | | by the same name. This option makes the cd and pwd builtins behave physically (as opposed to logically) by default. Submitted by: fanf
OpenPOWER on IntegriCloud