6
Write a program/script that decompresses and passes any compressed data appended at the end of the binary/file as standard input to a program specified as arguments.
$ gzip --to-stdout input >> your_solution
$ your_solution program args...
should have the same effects as:
$ program args... < input
1Could
-n +3
be changed to-n+3
? – PleaseStand – 2011-01-31T23:13:09.803@idealmachine yes, yes it could... (tho i had to test that :D) – tobyodavies – 2011-01-31T23:25:59.480
Also just realized that if i used zsh, I would be able to lose the
"
s and still have it work with spaces... – tobyodavies – 2011-01-31T23:27:34.907