4cade/bin/converthelp.sh
2021-10-17 21:12:04 -04:00

5 lines
143 B
Bash
Executable File

#!/bin/sh
tr "\*\~\<\>\$\%" "\020\021\010\025\016\017" < "$1" | \
awk '!/^\[/ { printf "%c%s", length, $0 } END { printf "\xFF" }' > "$2"