Re: [hackers] [PATCH] tar: if first argument doesn't have a leading dash, prepend one

From: Đoàn Trần Công Danh <congdanhqx_AT_gmail.com>
Date: Mon, 18 May 2020 22:39:00 +0700

On 2020-05-18 16:44:24+0200, Quentin Rameau <quinq_AT_fifth.space> wrote:
> Hi all,
>
> > Dear Michael,
> >
> > > Thanks for the patch, Ethan.
> > >
> > > This patch looks fine to me, but seeing as we used to support this
> > > usage before it was reverted in [0], I'd like to see if anyone else
> > > has comments. The approach you used avoids the code duplication that
> > > may have been the motivation for its removal.
> >
> > I have objections for this patch. I don't like the old style and it's
> > horribly annoying with tools like unrar and 7z as well. I don't know
> > why the compression tools all ignore years of established command line
> > syntax, but I think we shouldn't chime in to this mad play.
>
> I agree too we shouldn't pass that in.
>
> One purpose of writing sbase is to guide people into using tools in a
> “POSIX-ly” correct manner.
> If we just let in all syntax around then it defeats that purpose.

Sorry, but isn't no-dash is the one specified by POSIX:
https://pubs.opengroup.org/onlinepubs/7908799/xcu/tar.html

Please excuse my ignorance, I couldn't find newer specification.

-- 
Danh
Received on Mon May 18 2020 - 17:39:00 CEST

This archive was generated by hypermail 2.3.0 : Mon May 18 2020 - 18:12:36 CEST