[Top][All Lists]

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

Re: [PATCH] env: support encoding of args into command.

From: Pádraig Brady
Subject: Re: [PATCH] env: support encoding of args into command.
Date: Sat, 27 May 2017 16:06:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 25/05/17 19:15, Kaz Kylheku wrote:
> This is a new feature which allows the command argument of env to encode
> multiple extra arguments, as well as the relocation of the first
> trailing argument among those arguments.

Some useful references about this issue:

Drilling down there shows there was a patch to Linux
proposed in 2004 to split all arguments, but was voted
against by a single person citing compat worries,
but no specific compat issues.
Around the same time BSD changed to processing from splitting
all args to be like Linux for more detailed reasons mentioned in:
I.E. the issue of distinguishing args to the interpreter
from args to the script.

Now the FreeBSD env(1) command supports the -S option
to do splitting much as you've proposed, so I see no need to be different.
Could you adjust the patch accordingly?

Also this patch is significant enough that
it would need copyright assignment for inclusion.
Could you start that process?;a=blob;f=HACKING;hb=42192c51#l470


reply via email to

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