diff options
author | ru <ru@FreeBSD.org> | 2005-06-14 07:50:44 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-06-14 07:50:44 +0000 |
commit | 567c0293735468cae904bb2614189e468a9e547d (patch) | |
tree | 964946c36877e2a5f8e83e2ce8b1e18757b1fc39 /bin | |
parent | cc399eb6f45158e1373b50ff8372927669de5814 (diff) | |
download | FreeBSD-src-567c0293735468cae904bb2614189e468a9e547d.zip FreeBSD-src-567c0293735468cae904bb2614189e468a9e547d.tar.gz |
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)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/sh.1 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index b191bbc..8d7d12b 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -196,12 +196,6 @@ Flag variables for export when assignments are made to them. Enable asynchronous notification of background job completion. (UNIMPLEMENTED) -.It Fl c Li string -Read commands from the -.Ar string -operand instead of from the standard input. -Keep in mind that this option only accepts a single string as its -argument, hence multi-word strings must be quoted. .It Fl C Li noclobber Do not overwrite existing files with .Dq Li > . @@ -309,6 +303,14 @@ Useful for debugging. .El .Pp The +.Fl c +option causes the commands to be read from the +.Ar string +operand instead of from the standard input. +Keep in mind that this option only accepts a single string as its +argument, hence multi-word strings must be quoted. +.Pp +The .Fl /+o option takes as its only argument the long name of an option to be enabled or disabled. @@ -2125,10 +2127,10 @@ editing modes. .Xr getopt 1 , .Xr pwd 1 , .Xr test 1 , -.Xr umask 2 , .Xr vi 1 , .Xr execve 2 , .Xr getrlimit 2 , +.Xr umask 2 , .Xr editrc 5 .Sh HISTORY A |