]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: support multi-stream logging
authorKarel Zak <kzak@redhat.com>
Fri, 12 Apr 2019 14:27:54 +0000 (16:27 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:53 +0000 (13:11 +0200)
commitc1c2ee0b3afec6e05d044b611362d9a5a6966467
tree02ba240555fc1a1269655957ebe20324a1cc188d
parent70062aad13552c9508b73f61c6dd157e61603a99
script: support multi-stream logging

* allow to use --log-in <infile> and --log-out <outfile> in the same time
* add --log-io <file> to log stdout and stdin to the one log file
* introduce a new timing file format with entry type identifirs

   I <delay> <size>   : info about input stream
   O <delay> <size>   : info about output stream

in the next commits it's possible to add 'S' for signals and 'H' for
extra (header) information.

* the new file format is optional and enabled only if multiple streams
  logging is requested.

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.1
term-utils/script.c