]> git.ipfire.org Git - thirdparty/util-linux.git/commit
scriptreplay: add --cr-mode
authorKarel Zak <kzak@redhat.com>
Thu, 20 Jun 2019 11:08:00 +0000 (13:08 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:53 +0000 (13:11 +0200)
commit88b8e9bffd148441c77ea61d03bbf6106da45339
tree6d14081b74ff46a6e8cede4a50d48b151880f384
parentcf0609a3ea0165aa775ab83e905b64ee32fc7f8c
scriptreplay: add --cr-mode

The stdin log does not contain line breaks as command line uses CR
between commands. This makes scriptreplay for stdin very
user-unfriendly, because it overwrites still the same line.

The new option --cr-mode provides opportunity to control this
behavior. The default for stdin logs is replace CR with line-break.

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