Re: gzip: add "--keep" option to keep original files unchanged

2013-02-11 Thread Eric Blake
On 02/10/2013 05:59 PM, Paul Eggert wrote: > On 02/10/2013 07:41 AM, Rodrigo Campos wrote: >> Is this use case valid enough to accept >> the patch ? > > I'm sort of on the fence on this one. > Comments from others welcome. You can emulate --keep with 'gzip -c ... > file.gz'; but a quick look at o

Re: gzip: add "--keep" option to keep original files unchanged

2013-02-11 Thread Rodrigo Campos
On Mon, Feb 11, 2013 at 06:49:15AM -0700, Eric Blake wrote: > On 02/10/2013 05:59 PM, Paul Eggert wrote: > > On 02/10/2013 07:41 AM, Rodrigo Campos wrote: > >> Is this use case valid enough to accept > >> the patch ? > > > > I'm sort of on the fence on this one. > > Comments from others welcome. >

gzip -lNv does not output internal timestamp's year

2013-02-11 Thread Scott-Fleming, Ian
Observed on RedHat 6 & Mac OS X 10.6.8 gzip versions: RedHat 6: gzip 1.3.12 Mac OS X 10.6.8: gzip 1.4 Problem: gzip -lNv only shows the month, day and time of time stamp, but does not show the year. Thus code which is attempting to get original file's timestamp using "gzip -lNv" cannot deter

Re: gzip -lNv does not output internal timestamp's year

2013-02-11 Thread Paul Eggert
On 02/10/13 23:33, Scott-Fleming, Ian wrote: > I imagine you are aware of this No, it's the first I've heard of it. It is annoying. We can't change the current behavior but it might make sense to add a --full-time option, a la GNU 'ls'.