[Toybox] alias tar="tar --restrict"

Rob Landley rob at landley.net
Fri Apr 12 11:49:38 PDT 2019


On 4/11/19 7:52 PM, enh wrote:
> On Thu, Apr 11, 2019 at 5:46 PM Rob Landley <rob at landley.net> wrote:
>>
>> On 4/11/19 7:12 PM, enh wrote:
>>>> Yeah but if their implementation's 20 years old and I had the short option name
>>>> first...
>>>
>>> that would be a stronger argument if you were actually going to POSIX
>>> with this stuff. the trouble is that they _do_...
>>
>> Posix removed "tar" and "cpio" from their standard command list over 10 years
>> ago, in favor of something nobody anywhere uses for anything. What would telling
>> them I added something to tar accomplish?
> 
> that's so crazy i thought you must be mistaken, but, no: pax is there
> but tar is gone. but <tar.h> is still there (which was what made me
> think you must be wrong).

There's a reason I stopped arguing with the Posix committee.

Posix-2008 is a frame of reference to diverge from.

>>   https://landley.net/notes-2016.html#11-03-2016
>>
>> Meanwhile, https://lwn.net/Articles/658809/ kinda took the LSB out of
>> commission. (Their initial gripe was Red Hat paid them to standardize RPM but
>> not .deb, and Ubuntu objected hard but couldn't outbid Red Hat.)
> 
> as far as i could tell lsb was never obviously useful anyway.

Eh, it's another frame of reference to diverge from. Michael Kerris's man7.org
is another (alas if glibc does something stupid he follows it blindly), as are
the IETF RFCs.

The LSB was a good idea, but then http://landley.net/notes-2010.html#18-07-2010
happened (see also http://landley.net/notes-2017.html#24-12-2017).

This is why the roadmap has multiple sections (sources of input) for what
constitutes a good set of command line utilities...

Rob



More information about the Toybox mailing list