natalie-webbed-site/scripts/include

4 lines
105 B
Bash
Executable File

#!/bin/sh
python3 -u -c "import utils; print(utils.parse_file('$1'))" | sed 's/\$PREV_URL\$/"{prev}"/'