[oclug] "tar" problem

Joe Burpee jeb at burkby.com
Thu Oct 3 17:28:09 EDT 2002


On Thu, 03 Oct 2002 at 17:00:47 -0400, Dave Edwards wrote:
> On Thu, 2002-10-03 at 16:52, Joe Burpee wrote:
> > RedHat just uses a single `case' statement to filter suffixes.  Not very
> > fancy.  That doesn't look like a suffix, so Mandrake is apparently
> > trying to do something else.
> 
> MDK-8.1 tries first with: 
> TYPE=`file -L $1 | cut -d' ' -f2-`
> ...
> case $TYPE in
> #  gzip*)               CMD='gzip -d -c -q';;
> ...
> 

Agh.  RedHat's filter is simple-minded, but it does anticipate weird
chars (like spaces!) in filenames.

Thanks for the explanation Dave.  I think you'll be wanting to post a
bug fix to Mandrake.  ;-/

Joe

-- 
Joseph E. Burpee
GPG Fingerprint: 9188 AB4F A7B6 4AE5 9FB7  EF30 BE9B B1A2 9F6C BB8B



More information about the OCLUG mailing list