Re: git: 4b1e2c2f77d3 - main - bsdinstall(8): Usage example of tar doesn't work

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 24 Mar 2022 14:34:46 UTC
On 2022-Mar-24, at 04:05, Daniel Ebdrup Jensen <debdrup@FreeBSD.org> wrote:

> On Thu, Mar 24, 2022 at 12:53:19AM -0700, Mark Millard wrote:
>> Not objecting, just noting that for:
>> 
>> -.Dl tar xvf -C release-media FreeBSD-13.0-RELEASE-amd64-disc1.iso
>> +.Dl tar -C release-media -xvf FreeBSD-13.0-RELEASE-amd64-disc1.iso
>> 
>> I'd expect that the following would have been an alternative
>> that would have worked:
>> 
>> .Dl tar -xvf -C release-media FreeBSD-13.0-RELEASE-amd64-disc1.iso
>> 
>> (so: just adding a "-" before xvf).
>> 
>> ===
>> Mark Millard
>> marklmi at yahoo.com
>> 
> 
> Hi Mark,
> 
>     I tested this before accepting the review, and it doesn't work.

Yea, after a nights sleep that was obvious to me on waking up. I was
going to send a note about that but your reply was in my mailbox.

Basically, for -f the next thing is always a file name, as documented in
the notation:

 -f file, --file file

(-C is similar.)

Sorry for the noise.

>     If it did work previously (which I didn't test), it's something
>     that's changed upstream.
> 
> Yours,
> Daniel Ebdrup Jensen


===
Mark Millard
marklmi at yahoo.com