summaryrefslogtreecommitdiffstats
path: root/misc-utils/script.1
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:49 +0100
committerKarel Zak2006-12-07 00:25:49 +0100
commite8f2641919de90b488ce3788a7795b88311750b5 (patch)
tree68f3732da38ff1b21ec49780d7c830250329fec9 /misc-utils/script.1
parentImported from util-linux-2.11f tarball. (diff)
downloadkernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.tar.gz
kernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.tar.xz
kernel-qcow2-util-linux-e8f2641919de90b488ce3788a7795b88311750b5.zip
Imported from util-linux-2.11m tarball.
Diffstat (limited to 'misc-utils/script.1')
-rw-r--r--misc-utils/script.17
1 files changed, 7 insertions, 0 deletions
diff --git a/misc-utils/script.1 b/misc-utils/script.1
index 3edd82d4b..545ac3bc6 100644
--- a/misc-utils/script.1
+++ b/misc-utils/script.1
@@ -42,6 +42,7 @@
.Op Fl a
.Op Fl f
.Op Fl q
+.Op Fl t
.Op Ar file
.Sh DESCRIPTION
.Nm Script
@@ -74,6 +75,12 @@ One person does `mkfifo foo; script -f foo' and another can
supervise real-time what is being done using `cat foo'.
.It Fl q
Be quiet.
+.It Fl t
+Output timeing 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.
.El
.Pp
The script ends when the forked shell exits (a