bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Possible tar bug with -C, --from-files stdin and --null


From: Daryl Tester
Subject: Re: [Bug-tar] Possible tar bug with -C, --from-files stdin and --null
Date: Wed, 24 Sep 2008 07:20:57 +0930
User-agent: Thunderbird 1.5.0.14ubu (X11/20080724)

John Hein wrote:

> You may want to update the info page...
> 
> ==============
>    The `--null' option is just like the one in GNU `xargs' and `cpio',
> and is useful with the `-print0' predicate of GNU `find'.  In `tar',
> `--null' also causes `--directory=DIRECTORY' (`-C DIRECTORY') options
> to be treated as file names to archive, in case there are any files out
> there called `-C'.
> ==============

Ah, this is different in the info page for 1.19, which says ... "In `tar',
`--null' also disables special handling for file names that begin with
dash."  I'm curious though (and will probably pull down the source since
I'll have to compile a new version with patch) - I thought that because
the command line ordering seemed "sensitive" (-C had to be be placed
before --files-from) that this wouldn't have been an issue.

> This is at least somewhat unclear.

I guess with this patch the description could revert back to the 1.19.

Thanks all for the quick feedback!  Cheers.


-- 
Regards,
  Daryl Tester

"A long time ago, I stopped thinking that 'User must click OK to
 scary-looking message' was any sort of road bump for malware."
  -- Valdis Kletnieks




reply via email to

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