]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: add 'Script started' line always to capture file
authorSami Kerola <kerolasa@iki.fi>
Fri, 26 Dec 2014 17:57:46 +0000 (17:57 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 8 Jun 2015 20:52:51 +0000 (21:52 +0100)
commit076ffa48f3875867749fe5c23973aaa52ee843a9
treefdcc91231bfb8ab44077b9a481b1f0f335732dd1
parent89a859d433fbba81cd70ba5e42fc86e971233dce
script: add 'Script started' line always to capture file

The scriptreplay(1) will expect capture file always to have header.
Before this change the --quiet option together with timing caused
following replay error.

$ script --quiet --timing=timing
[...]
$ scriptreplay timing typescript
[...]
scriptreplay: unexpected end of file on typescript

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/script.c