summaryrefslogtreecommitdiff
path: root/misc-utils/script.1
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:49 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:49 +0100
commite8f2641919de90b488ce3788a7795b88311750b5 (patch)
tree68f3732da38ff1b21ec49780d7c830250329fec9 /misc-utils/script.1
parent364cda4857f7dd5e2b4e2eb7583a2eaa279ef4ed (diff)
downloadutil-linux-old-e8f2641919de90b488ce3788a7795b88311750b5.tar.gz
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 3edd82d4..545ac3bc 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