summaryrefslogtreecommitdiffstats
path: root/term-utils/script.1
diff options
context:
space:
mode:
authorSami Kerola2011-04-09 21:40:45 +0200
committerKarel Zak2011-04-12 14:21:36 +0200
commit7ca59ef25f8ebed37ddcf51155954077e2654d1c (patch)
tree7cbc53a8dd2c64b85a2f63191a1ca1a4619877a2 /term-utils/script.1
parentdocs: scriptreplay add note about new options (diff)
downloadkernel-qcow2-util-linux-7ca59ef25f8ebed37ddcf51155954077e2654d1c.tar.gz
kernel-qcow2-util-linux-7ca59ef25f8ebed37ddcf51155954077e2654d1c.tar.xz
kernel-qcow2-util-linux-7ca59ef25f8ebed37ddcf51155954077e2654d1c.zip
script: optional timing output file argument added
And update to manual page accordingly. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/script.1')
-rw-r--r--term-utils/script.18
1 files changed, 6 insertions, 2 deletions
diff --git a/term-utils/script.1 b/term-utils/script.1
index f411dc6e7..725bdb290 100644
--- a/term-utils/script.1
+++ b/term-utils/script.1
@@ -44,7 +44,7 @@
.Op Fl e
.Op Fl f
.Op Fl q
-.Op Fl t
+.Op Fl t[=FILE]
.Op Fl V
.Op Fl h
.Op Ar file
@@ -86,12 +86,16 @@ One person does `mkfifo foo; script -f foo' and another can
supervise real-time what is being done using `cat foo'.
.It Fl q, Fl Fl quiet
Be quiet.
-.It Fl t, Fl Fl timing
+.It Fl t, Fl Fl timing[=FILE]
Output timing data to standard error. This data contains two fields,
separated by a space. The first field indicates how much time elapsed since
the previous output. The second field indicates how many characters were
output this time. This information can be used to replay typescripts with
realistic typing and output delays.
+
+The timing option is able to take file path as an argument. The
+file is used as output detination instead of standard error when
+it is supplied.
.It Fl V, Fl Fl version
Output version information and exit.
.It Fl h, Fl Fl help