is there any way to patch a file, that is compressed via gzip without decompressing it first? I tried
patch -n <(gzip -d file.gz) patch_to_file.diff > new_file
but I only got
patch: **** Can't create temporary file /dev/fd/63.o65LeZA : No such file or directory
as a result.
I'd like to avoid the storage overhead, so if there is any way to do this with pipes/process substitution I'd be very happy. :)
patch, which is for text files).zpatchcould exist which would answer the question. (Unfortunately?) we don't live in that universe, though :)