From 7ca59ef25f8ebed37ddcf51155954077e2654d1c Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 9 Apr 2011 21:40:45 +0200 Subject: script: optional timing output file argument added And update to manual page accordingly. Signed-off-by: Sami Kerola --- term-utils/script.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'term-utils/script.1') 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 -- cgit v1.2.3-55-g7522