Re: patch: short form for unzip archive listing

2007-09-07 Thread Paul Fox
> > > > i can commit in a day or two if no one objects. > > > - enum {v_silent, v_normal, v_list} verbosity = v_normal; > > + int verbose = 1; > > + int listing = 0; > > I think smallint will give you some small additional win in bloatcheck. committed. i changed these and a couple o

Re: patch: short form for unzip archive listing

2007-09-07 Thread Denys Vlasenko
On Thursday 06 September 2007 20:17, Paul Fox wrote: > if you're dealing with zip archives in a script, it's useful to > be able to get a script-friendly listing. the current '-l' > command is more like 'ls -l', i.e. lots of information, but not > script-friendly. > > this patch overloads the exi

patch: short form for unzip archive listing

2007-09-06 Thread Paul Fox
if you're dealing with zip archives in a script, it's useful to be able to get a script-friendly listing. the current '-l' command is more like 'ls -l', i.e. lots of information, but not script-friendly. this patch overloads the existing '-q' flag so that if '-l' and '-q' are used together, a "sh