changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/tscript.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
1 #!/bin/sh
2 # make typescript of terminal session. this will generate two files:
3 # the raw terminal data and a timing log file.
4 set -e
5 name="${1:-ts-$(date +%s)}"
6 log="${2:-$name.log}"
7 script --t="$log" -q "$name" ${3:+-c $3}
8