bug-coreutils
[Top][All Lists]
Advanced

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

bug#17774: AIX and lbracket ([) program - will not install on AIX using


From: Eric Blake
Subject: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp
Date: Tue, 17 Jun 2014 15:16:13 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 06/17/2014 02:50 PM, Michael Felt wrote:
> FYI: the program runs fine, and even from the command line (the extra ] at
> the end must satisify the ksh syntax checking).

Rather, the 'test' binary and the 'lbracket' binary differ in one
crucial aspect: 'lbracket' requires its last argument in argv[] to be
"]".  It is not ksh, but lbracket itself that requires the matching ],
and it is this fact that allows us to obey POSIX while still allowing '[
--help' to produce help text, even though 'test --help' cannot do so
(that is, '[' has an escape hatch that 'test' does not).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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