From c7a197e1d86bee3df8df57c8f0295ef6ff70d5fb Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sat, 13 Sep 1997 17:40:00 +0000 Subject: [PATCH] PR: docs/4449 The -c flag is not documented in the sh(1) manapge. Submitted by: adrian@virginia.edu --- bin/sh/sh.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index d6cae938101..314439045ea 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -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