I am curious about why I can't incrementally extract a file named '['
from an archive. here goes :
$ ls -l
total 696
-rwxrwxr-x 1 skunk skunk 707718 May 19 20:12 tar
$ ./tar --version | grep ^tar
tar (GNU tar) 1.15.90
$ touch ']' '[' '#'
$ ls
[ ] # tar
$ tar -cvf a.tar '[' ']' '#'
[
]
#
$ tar -tvf a.tar
-rw-rw-r-- skunk/skunk 0 2006-05-19 20:14 [
-rw-rw-r-- skunk/skunk 0 2006-05-19 20:14 ]
-rw-rw-r-- skunk/skunk 0 2006-05-19 20:14 #
$ rm ']' '[' '#'
$ ls
a.tar tar
$ tar -xvf a.tar '#'
#
$ tar -xvf a.tar ']'
]
$ tar -xvf a.tar '['
tar: [: Not found in archive
tar: Error exit delayed from previous errors
$ ls
] # a.tar tar
$ tar -xvf a.tar
[
]
#
$ ls
[ ] # a.tar tar
---
John
_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar