prime/tools/rename.sh
Luke Street a4b184903f Clean up unused tools
Former-commit-id: 6acf3a12781197d56d532f53bca4f63710a2fa44
2022-07-18 20:30:39 -04:00

4 lines
85 B
Bash

#!/bin/bash -e
echo "$1 -> $2"
find . -type f -name '*.s' | xargs sed -i "s/$1/$2/g"