summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add a `bind' builtin command, which is simply a wrapper around libedit'stjr2002-07-231-0/+4
| | | | | | | builtin command of the same name. This allows the key bindings for the shell's line editor to be changed. MFC after: 2 weeks
* Implement the P1003.2 `command' builtin command, which is used to suppresstjr2002-07-211-1/+21
| | | | | | 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'.
* Document that only one of the -n and -e options may be specified fortjr2002-07-201-1/+11
| | | | | | | sh(1)'s echo(1) builtin command. PR: 32935, 40747 MFC after: 1 week
* Fix type-o in last commit in preparation for MFC.dillon2002-07-021-1/+1
|
* Document addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c.sheldonh2002-06-271-1/+3
|
* Bring documentation on CDPATH and its effects on cd(1) back into sync withtjr2002-06-191-4/+6
| | | | | | | | | 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
* Document the -f and -v options of the unset builtin.tjr2002-06-061-5/+15
|
* Add the SUSv3 -p ("portable") option to both the export and readonlytjr2002-06-061-2/+20
| | | | | builtins. This makes export/readonly print lines in the form "export name=value".
* Quote alias values in the output of the alias(1) builtin so they aretjr2002-06-041-0/+2
| | | | suitable for re-input to the shell (SUSv3)
* Add -s (output PID's only) and -l (show PID's) options to the jobs(1)tjr2002-05-311-3/+16
| | | | builtin. Modify the output format to match what SUSv3 requires.
* mdoc(7) police: tidy up the markup a bit.ru2002-05-291-142/+41
|
* sh appeared in Version 1, not System V.1.tjr2002-05-251-1/+1
|
* Implement `set +o', which displays the currently set options in a formattjr2002-05-251-0/+8
| | | | suitable for re-input into the shell.
* Add the SUSv3 -L and -P options to the cd and pwd builtin utilities. `Logical'tjr2002-05-201-2/+32
| | | | handling of .. is now the default.
* Implement the -u (-o nounset) option, which gives an error message iftjr2002-05-191-1/+0
| | | | | | an unset variable is expanded. Obtained from: NetBSD (bjh21, christos)
* Implement the -C (-o noclobber) option, which prevents existing regulartjr2002-05-191-1/+0
| | | | files from being overwritten by shell redirection.
* Remove the printf builtin command from sh(1), which command is notknu2001-11-201-6/+2
| | | | | | | | | | | | used so often that it's worth keeping it as a builtin. Now that all the printf invocations from within the system startup scripts, we can safely remove it. Urged by: sheldonh :) No MFC is planned so far because it may break compatibility and violate POLA.
* Make test(1) a builtin command of our sh(1) for efficiency. Theknu2001-11-171-2/+5
| | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used)
* can not -> cannotsheldonh2001-08-081-1/+1
|
* mdoc(7) police:ru2001-08-071-5/+4
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Break the list of parameter expansions into two lists so thatsheldonh2001-07-231-0/+2
| | | | | | the paragraph introducing the prefix and suffix pattern expansions does not appear as part of the explanation for the string length expansion.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* Document "chdir" builtin.dd2001-04-281-0/+4
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-5/+8
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-181-11/+11
|
* Prepare for mdoc(7)NG.ru2000-12-151-2/+2
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-1/+1
|
* Implement the <> redirection operator.brian2000-10-031-3/+6
|
* Mark up the -a flag to unalias as a flag (Fl), not an argument (Ar).sheldonh2000-07-241-1/+1
|
* Add missing punctuation to one line.sheldonh2000-07-241-1/+1
|
* Document the builtin echo commandmarko2000-07-171-4/+60
| | | | Reviewed by: Matthew Hunt <mph@astro.caltech.edu>
* Document ulimit -b for RLIMIT_SBSIZE.cracauer1999-12-151-1/+3
|
* make '|' character visible.cracauer1999-12-051-1/+1
| | | | | PR: docs/15265 Submitted by: takamune@avrl.mei.co.jp
* Follow-up on mdoc fixes in rev 1.35; this includes things that I missedsheldonh1999-11-181-29/+58
| | | | | | in that revision as well as things I broke in that revision. A note- worthy instance of the latter case was the inversion of -E and -V in the subsection on Commandline Editing.
OpenPOWER on IntegriCloud