[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar -c <file> -f <file.tar> behavior change
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] tar -c <file> -f <file.tar> behavior change |
Date: |
Sun, 17 Jul 2005 00:41:56 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Andrew Haninger <address@hidden> writes:
> It seems that there has been a behavior change between tar 1.14 and
> 1.15. With versions previous to 1.14, I have always been able to
> create a tar file by using the command "tar -c <file or directory to
> be tarred> -f <tar file of file or directory> and a tar file is
> produced. With versions 1.15 and 1.15.1, garbage is printed to STDOUT,
> rather than the file given with -f.
Sorry, I didn't quite get your bug report. Can you give a specific
example? I just tried this:
touch foo.c
tar -c foo.c -f foo.tar
tar -tvf foo.tar
and it worked for me with tar 1.15.1: it created foo.tar with contents
foo.c, and that sounds like it's what you wanted. Here's the output I
got from the last command:
-rw-r--r-- eggert/eggert 0 2005-07-17 00:39:24 foo.c