From fd50df303c8ca2de00a64cb4eaf54f1dabb6a399 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 14 Jun 2005 07:50:44 +0000 Subject: [PATCH] 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) --- bin/sh/sh.1 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index b191bbc803b..8d7d12bf394 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