freebsd-ports/misc/mmv/scripts/unshar

9 lines
93 B
Bash

#!/bin/sh
ed $1 <<XXXEOF > /dev/null
/#! \/bin\/sh
1,.-1d
w
q
XXXEOF
/bin/sh $1 > /dev/null