[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Extracting ./usr/bin/[ by name
From: |
Marc Singer |
Subject: |
[Bug-tar] Extracting ./usr/bin/[ by name |
Date: |
Thu, 2 Jun 2005 10:29:13 -0700 |
User-agent: |
Mutt/1.5.6+20040907i |
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?
- [Bug-tar] Extracting ./usr/bin/[ by name,
Marc Singer <=