4 lines
143 B
Bash
Raw Normal View History

2022-08-19 00:53:49 -04:00
#!/usr/bin/env bash
set -euo pipefail
echo -e -n "$(grep 'Page \d\+: .*' "$1" | cut -d: -f2 | tr -d '\n' | sed 's/ /\\x/g')" > "${1%.nfc}.bin"