start | find | index | login or register | edit
Samstag, 29. März 2008 link

Brilliant hack of the day: Wrapping an archive into a shell-script to make it self-extracting . Simply concat the tar-gzipped archive to the following script:

#!/bin/sh
SKIP=`awk '/^__ARCHIVE__/ {print NR + 1; exit 0;}' $0`
tail +$SKIP $0 | tar xz
exit 0
__ARCHIVE__

(Source)

Lovely! I'm deeply in awe. Maybe there'll soon be a single-click Vanilla installer ...


no comments

Please log in (you may want to register first) to post comments!

powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 6771 days • c'est un vanilla site