bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] can't deal with junk in front or back


From: Dan Jacobson
Subject: [Bug-tar] can't deal with junk in front or back
Date: Thu, 18 Dec 2003 02:17:30 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Disappointed that junk in front can't be dealt with:

$ tar c /etc/motd /etc/motd|{ echo xxxxxxx; cat;}|tar tv
tar: Removing leading `/' from member names
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors

Couldn't it find the next header then like it said?

Disappointed that trailing junk isn't even mentioned

$ tar c /etc/motd /etc/motd|{ cat; echo ccccc;}|tar tv
tar: Removing leading `/' from member names
-rw-r--r-- root/root       362 2003-12-17 23:56:09 etc/motd
-rw-r--r-- root/root       362 2003-12-17 23:56:09 etc/motd

[Maybe also identical archive names could be warned to stderr.]




reply via email to

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