This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| fatal() { | |
| printf 'FATAL ERROR: %s' "$*" | |
| exit 1 | |
| } | |
| base=tcl${ver:-9.0.1} | |
| cd "$(dirname "$0")" || fatal "unable to cd to script dir" | |
| instroot=$(pwd)/inst | |
| [[ -s ${base}-src.tar.gz ]] || fatal "unable to find src tarball 'tcl${ver}-src.tar.gz'" | |
| rm -fr build "$instroot" "$base" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| cmd() { | |
| echo ">>> $(printf '%q ' "$@")" >&2 | |
| time "$@" | |
| } | |
| sqlite=/opt/homebrew/opt/sqlite/bin/sqlite3 | |
| csvs=(perfect_0.csv perfect_1.csv imperfect_2.csv) | |
| # Generate CSVs | |
| for i in $(seq -f %07.0f 9999999); do |
OlderNewer