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:

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


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 @. • esa3 • online for 7209 days • c'est un vanilla site