bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Manual error


From: Felix Natter
Subject: [Bug-tar] Manual error
Date: Fri, 25 Jun 2004 11:23:06 +0200

hi,

the manual of tar 1.13.25 indicates that --anchored is the
default:

`--anchored'
`--no-anchored'
     If anchored (the default), a pattern must match an initial
     subsequence of the name's components.  Otherwise, the pattern can
     match any subsequence.
(node: Node: controlling pattern-patching with exclude)

but that does not seem to be correct:

$ tar -cp /lib/libc* /usr/lib/libgpm* > test.tar
$ tar -tf test.tar
lib/libc-2.2.5.so
lib/libcap.so.1
lib/libcap.so.1.10
lib/libcfont.so.0
lib/libcfont.so.0.0.0
lib/libcom_err.so.2
lib/libcom_err.so.2.0
lib/libconsole.so.0
lib/libconsole.so.0.0.0
lib/libcrypt-2.2.5.so
lib/libcrypt.so.1
lib/libc.so.6
lib/libctutils.so.0
lib/libctutils.so.0.0.0
usr/lib/libgpm.so.1
usr/lib/libgpm.so.1.19.6
$ tar --exclude 'lib/*.so*' -tf test.tar
[no output]
$ tar --anchored --exclude 'lib/*.so*' -tf test.tar
usr/lib/libgpm.so.1
usr/lib/libgpm.so.1.19.6








reply via email to

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