in reply to
Re: maddening system call gzip/gunzip problems
in thread maddening system call gzip/gunzip problems
Although, gunzip reports that the file has no .gz extension it did before the script was run. That file was a gzip file before the script started. Similarly, the files are all unzipped before the gzip part is run.
It seems that the script attempts to gunzip or gzip some files twice.
I would love to rewrite all of the processing code for this script. Alas, time constraints do not permit (the rest of the code is very poor, undocumented, and not mine).