4cade/bin/converthelp.sh
2021-10-16 18:17:00 -04:00

5 lines
134 B
Bash
Executable File

#!/bin/sh
tr "\*\~\<\>\$\%" "\020\021\010\025\016\017" < "$1" | sed '/^\[/d' > "$2"
dd if=/dev/zero bs=1 count=1 2>/dev/null >> "$2"