bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Re: Extracting ./usr/bin/[ by name


From: Marc Singer
Subject: [Bug-tar] Re: Extracting ./usr/bin/[ by name
Date: Thu, 2 Jun 2005 10:37:00 -0700
User-agent: Mutt/1.5.6+20040907i

On Thu, Jun 02, 2005 at 10:29:13AM -0700, Marc Singer wrote:
> If I have an archive containing the file ./usr/bin/[, call it
> source.tar, should I expect this to work?
> 
>   # echo ./usr/bin/[ > files
>   # tar xf source.tar -T files
> 
> What I've found is that tar won't extract the file.  It generates an
> error stating that the file ./usr/bin/[ is not found.  Changing the
> recipe slightly does seem to fix the error, but I'm not sure that this
> should be expected.
> 
> 
>   # echo ./usr/bin/\\[ > files
>   # tar xf source.tar -T files
> 
> According to the man page, the contents of the -T file are filenames,
> not patterns.  Are they really patterns though?

BTW, 

  address@hidden ...embedded/m3 > tools/bin/tar --version
  tar (GNU tar) 1.15.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]