diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-20 04:39:23 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-20 04:39:23 +0000 |
commit | 28039a3e134f751d15d0e4cfc581b9e3c79c2c2a (patch) | |
tree | 404ffa1aaf70d83efd9e0d32249dfb9887d3cdeb /bin/sh | |
parent | c7181950f3493ca9216d41ff1f5bf0e783f55f2e (diff) | |
download | FreeBSD-src-28039a3e134f751d15d0e4cfc581b9e3c79c2c2a.zip FreeBSD-src-28039a3e134f751d15d0e4cfc581b9e3c79c2c2a.tar.gz |
Document that only one of the -n and -e options may be specified for
sh(1)'s echo(1) builtin command.
PR: 32935, 40747
MFC after: 1 week
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/sh.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 8dffaf8..20a9664 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1332,7 +1332,11 @@ This is the default. A synonym for the .Ic cd builtin command. -.It Ic echo Oo Fl en Oc Ar string +.It Xo +.Ic echo +.Op Fl e | Fl n +.Op Ar string +.Xc Print .Ar string to the standard output with a newline appended. @@ -1386,6 +1390,12 @@ $ echo -e a\e\e\e\eb a\eb .Ed .El +.Pp +Only one of the +.Fl e +and +.Fl n +options may be specified. .It Ic eval Ar string ... Concatenate all the arguments with spaces. Then re-parse and execute the command. |