1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

PR: docs/4449

The -c flag is not documented in the sh(1) manapge.

Submitted by: adrian@virginia.edu
This commit is contained in:
Wolfram Schneider 1997-09-13 17:40:00 +00:00
parent cae6f73ac2
commit c7a197e1d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29332

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $Id: sh.1,v 1.13 1997/04/28 03:20:09 steve Exp $
.\" $Id: sh.1,v 1.14 1997/05/07 11:42:00 steve Exp $
.\"
.Dd May 5, 1995
.Dt SH 1
@ -45,6 +45,7 @@
.Nm
.Op Fl /+abCEefIimnpsuVvx
.Op Fl /+o Ar longname
.Op Fl c Ar string
.Op Ar arg ...
.Sh DESCRIPTION
.Nm sh
@ -220,6 +221,10 @@ as it is read. Useful for debugging.
Write each command to standard error (preceded
by a '+ ') before it is executed. Useful for
debugging.
.It Fl c Ar string
Pass the string argument to the shell to be interpreted as input.
Keep in mind that this option only accepts a single string as its
argument, hence multi-word strings must be quoted.
.El
.Ss Lexical Structure
The shell reads input in terms of lines from a file and breaks