#!/bin/sh # Runs every derived-number script and stores its printed output beside it. cd "$(dirname "$0")/../.." || exit 1 for f in numerics/derived/*.py; do echo "running $f" .venv/bin/python "$f" > "${f%.py}.out.txt" 2>&1 || echo "FAILED $f" done