changelog shortlog graph tags branches changeset files file revisions raw help

Mercurial > infra / annotate scripts/tscriptr.sh

changeset 371: 7dcabf3e0edc
parent: b3b93a87e570
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rwxr-xr-x
description: no link in bootstrap.sh
150
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
1
 #!/bin/sh
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
2
 # replay terminal session from typescript and timing files.
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
3
 set -e
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
4
 name="${1:-typescript}"
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
5
 log="${2:-$name.log}"
b3b93a87e570 added script scripts
Richard Westhaver <ellis@rwest.io>
parents:
diff changeset
6
 scriptreplay --timing=$log $name