Files
book/convert-quotes.sh
2019-01-13 03:29:45 +00:00

14 lines
156 B
Bash
Executable File

#!/bin/bash
set -eu
dir=$1
mkdir -p "tmp/$dir"
for f in $dir/*.md
do
cat "$f" | cargo run --bin convert_quotes > "tmp/$f"
mv "tmp/$f" "$f"
done