changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/tscript.sh

changeset 362: e3072a5cbc2d
parent: b3b93a87e570
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 03 Sep 2024 20:41:20 -0400
permissions: -rwxr-xr-x
description: oops
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