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

Rob Landley rob at landley.net
Thu Apr 11 17:02:59 PDT 2019


On 4/11/19 5:52 PM, enh wrote:
>>> (in general the other direction is dangerous too, but in this specific
>>> case i'm pretty sure no-one wants to change tapes on Android or during
>>> an AOSP build --- though you'd be surprised by some of the requests we
>>> do get from folks who don't value hermetic builds quite as much as we
>>> do!)
>>
>> If they ask here, I'll take it into consideration. :)
> 
> aye, but not for long... the number #1 request is perl :-)

Have you tried offering them lua? :)

>> *shrug* Pick a name and I'll rename it, not tied to that.
> 
> i didn't have any particularly good suggestions --restrict-paths?
> --restrict-directory?

How about tar -D which is an illegal option in ubuntu 14.04. (Yes, I need to
upgrade...)

>> (I note that gnu/dammit -a is "autodetect compression type" and busybox -a is
>> "lzma", which was added after my time on the project. I.E. I didn't start this...)
> 
> well, this is why i don't like adding new short options --- collisions
> are almost certain. (although, yes, even for long options some names
> are more tempting than others...)

Yeah but if their implementation's 20 years old and I had the short option name
first...

>> Rob

Rob



More information about the Toybox mailing list