[git commit] hush: specially handle [[ - suppress globbing & multiword expansion

Denys Vlasenko vda.linux at googlemail.com
Tue Jun 9 21:17:07 UTC 2009


On Tue, Jun 9, 2009 at 9:21 PM, Mike Frysinger<vapier at gentoo.org> wrote:
> On Tuesday 09 June 2009 12:40:52 Denys Vlasenko wrote:
>> commit:
>> http://git.busybox.net/busybox/commit/?id=9d617c44d2b1135d14b7dafd01a1d3992
>>293f4d9 branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
>>
>>
>> It's a bashism, but is surprisingly easy to do and costs very little code.
>
> we dont want [[...]] because it implies a lot of extended operators that only
> bash supports: pattern matching, regexes, etc...

(pattern matching? I know only about &&, || and =~ inside [[ ]])

I intend to be friendly even for bash-loving heretics :)

> if anything, there needs to be a nob to turn all the bashisms off

I will make such a knob.
--
vda


More information about the busybox mailing list