Re: many packages FTBFS, if $TAPE is set
* Bastian Blank:
> On Tue, Aug 28, 2007 at 09:39:47AM -0700, John H. Robinson, IV wrote:
>> I assume you mean to make the documentation match the behaivour.
>
> At least.
>
>> Rememer it is a Tape ARchival program.
>
> | -f, --file [HOSTNAME:]F
> | use archive file or device F (default "-", meaning stdin/stdout)
>
> The file is explicitely documented as "-", not $TAPE.
It's about the default when there is no -f option:
| If you don't specify this argument, then tar will examine the
| environment variable TAPE. If it is set, its value will be used as the
| archive name. Otherwise, tar will use the default archive, determined
| at the compile time. Usually it is standard output or some physical
| tape drive attached to your machine (you can verify what the default
| is by running tar --show-defaults, see defaults).
<http://www.gnu.org/software/tar/manual/html_node/file-tutorial.html>
For quite some time, the default was /dev/rmt0 even on GNU/Linux
systems, so you actually had to specify "-f -" for standard input or
output.
Reply to: