4cade/bin/converthelp.sh
2024-05-24 21:54:43 -04:00

5 lines
149 B
Bash
Executable File

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