You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: term-utils/script.1.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ script - make typescript of terminal session
47
47
48
48
== SYNOPSIS
49
49
50
-
*script* [options] [_file_]
50
+
*script* [options] [_file_] [ -- program [arguments]]
51
51
52
52
== DESCRIPTION
53
53
@@ -67,7 +67,7 @@ Below, the _size_ argument may be followed by the multiplicative suffixes KiB (=
67
67
Append the output to _file_ or to _typescript_, retaining the prior contents.
68
68
69
69
*-c*, *--command* _command_::
70
-
Run the _command_ rather than an interactive shell. This makes it easy for a script to capture the output of a program that behaves differently when its stdout is not a tty.
70
+
Run the _command_ rather than an interactive shell. This makes it easy for a script to capture the output of a program that behaves differently when its stdout is not a tty. you can also specify the command after '--'.
71
71
72
72
*-E*, *--echo* _when_::
73
73
This option controls the *ECHO* flag for the slave end of the session's pseudoterminal. The supported modes are _always_, _never_, or _auto_.
0 commit comments