openbsd-ports/misc/mmv/scripts/unshar
angelos 24e76d0b28
1998-06-08 02:52:32 +00:00

9 lines
93 B
Bash

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