Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

How to gunzip a binary on the fly



Hello,
does anybody know how to gunzip a gzipped binary file just for executing it.
Is it possible to do so without an intermediate file - just piping it
into the shell.

Assume there is a file  doit.gz

I would like a function  exec_gz  and invoke doit by  exec_gz doit.gz
without

gunzip -c doit.gz >/tmp/doit
/tmp/doit
rm /tmp/doit


Thanks for any hints,

a Happy New Year to all of you,

Helmut Jarausch.






Messages sorted by: Reverse Date, Date, Thread, Author