tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH 3/6] script.1: clarify that -c runs the argument via sh -c



---
 script.1 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/script.1 b/script.1
index 51c76d8..07d01f0 100644
--- a/script.1
+++ b/script.1
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)script.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd October 17, 2009
+.Dd January 3, 2022
 .Dt SCRIPT 1
 .Os
 .Sh NAME
@@ -66,9 +66,9 @@ or
 .Pa typescript ,
 retaining the prior contents.
 .It Fl c Ar command
-Run the named
-.Ar command
-instead of the shell.
+Run
+.Sq Nm sh Fl c Ar command
+instead of the interactive shell.
 Useful for capturing the output of a program that behaves differently when
 associated with a tty.
 .It Fl d
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index