From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 13:42:26 2013 Received: (at submit) by debbugs.gnu.org; 5 Sep 2013 17:42:26 +0000 Received: from localhost ([127.0.0.1]:42211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHdZZ-0006Yq-Dh for submit@debbugs.gnu.org; Thu, 05 Sep 2013 13:42:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56286) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHdZW-0006Ya-M5 for submit@debbugs.gnu.org; Thu, 05 Sep 2013 13:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHdZN-0008SY-2D for submit@debbugs.gnu.org; Thu, 05 Sep 2013 13:42:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,MISSING_HEADERS autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHdZM-0008SO-VV for submit@debbugs.gnu.org; Thu, 05 Sep 2013 13:42:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHdZI-0003Gr-JC for bug-coreutils@gnu.org; Thu, 05 Sep 2013 13:42:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHdZD-0008QI-Tn for bug-coreutils@gnu.org; Thu, 05 Sep 2013 13:42:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHdZD-0008Q6-LU; Thu, 05 Sep 2013 13:42:03 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r85Hg0lw014861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Sep 2013 13:42:00 -0400 Received: from [10.3.113.68] (ovpn-113-68.phx2.redhat.com [10.3.113.68]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r85GjFKx024193; Thu, 5 Sep 2013 12:45:15 -0400 Message-ID: <5228B51B.7000905@redhat.com> Date: Thu, 05 Sep 2013 10:45:15 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 Subject: Re: -a vs -e References: <20a64a55-04fe-4653-8b63-2091f9414f41@googlegroups.com> <5228B270.1080405@redhat.com> In-Reply-To: <5228B270.1080405@redhat.com> X-Enigmail-Version: 1.5.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vtpljUGFPJtvku5H0KAH3arroDMFsBncA" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, bug-bash@gnu.org, kneufeld@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vtpljUGFPJtvku5H0KAH3arroDMFsBncA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [moving to the coreutils list, as coreutils has a bug here] On 09/05/2013 10:33 AM, Eric Blake wrote: > On 09/04/2013 11:06 PM, kneufeld@gmail.com wrote: >> According to the man page, [ -a ] and [ -e ] should have the same beha= viour. >=20 > Not a bug. -a behaves like -e only when it is unambiguously parsed as = a > unary operator, because it is bash extension as a unary operator. >=20 >> >> -a file >> True if file exists. >> ... >> -e file >> True if file exists. >> >> $ touch stuff.txt >> $ [ -a stuff.txt ]; echo $? >> 0 >> $ [ -e stuff.txt ]; echo $? >> 0 >> $ [ ! -e stuff.txt ]; echo $? >> 1 >> $ [ ! -a stuff.txt ]; echo $? >> 0 # what? >=20 > But _this_ is an instance where -a is parsed as a binary operator (ie. > it was parsed as "\( ! \) -a \( stuff.txt \)", not "! \( -a stuff.txt > \)". -a as a binary operator is required by POSIX for XSI, therefore i= t > takes priority over -a as a unary operator as a bash extension. >=20 The POSIX wording states for 3-argument tests (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html): =E2=80=A2 If $2 is a binary primary, perform the binary test of $1 and $3= =2E =E2=80=A2 If $1 is =E2=80=99!=E2=80=99, negate the two-argument test of $= 2 and $3. =E2=80=A2 If $1 is =E2=80=99(=E2=80=99 and $3 is =E2=80=99)=E2=80=99, per= form the unary test of $2. The first two bullets both apply to your situation, but it can be assumed that the ordering of the bullets is significant. Why? Because "test \( =3D \)" is a case of both the first and third bullet applying, and on that case, both bash and coreutils agree that it returns false (3-argument string comparison of different strings) rather than true (parenthesized 1-argument test of non-empty =3D). Coreutils therefore should fix its test to favor binary -a over unary -a, when there are three arguments and the first is !. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vtpljUGFPJtvku5H0KAH3arroDMFsBncA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSKLUbAAoJEKeha0olJ0NqCTEIAIhxVR/tJP2yzuSIJmWUbXGC Xukf4Z7BgDE8Wpqfw7j5nafFXHUGiP2GpUCPCZgTgk62n7FX3O7/g4xuTYsEn7AT upNgHTLc0qB7TdpMLz0PL3o448sDCGh8UtX0MfHVuVWbSNFcYZBBD7Umk1BPWNrJ +cv8P62UvpdksKp2C+cnA7Uprqtu4P6Iaxz6dAt8Q4LB0QQkNiVySup7SbjDvcyt 8k6vlCnx+VBFgi78qfnurTmBhxGQ5gy31WmJ7wXjZc/x8+Dsp56+tbzpbdVxJaWJ mRvOvYEAh5Cjp9pDBfKiJbw8CRKjTu3pf8+YFqKmry9p35s2PCYLP7cY5yBDV5E= =pPv7 -----END PGP SIGNATURE----- --vtpljUGFPJtvku5H0KAH3arroDMFsBncA-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 15:48:30 2013 Received: (at submit) by debbugs.gnu.org; 5 Sep 2013 19:48:30 +0000 Received: from localhost ([127.0.0.1]:42294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHfXZ-0002HC-3P for submit@debbugs.gnu.org; Thu, 05 Sep 2013 15:48:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47127) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHfJ5-0001uG-FY for submit@debbugs.gnu.org; Thu, 05 Sep 2013 15:33:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHfIv-0006Ax-4l for submit@debbugs.gnu.org; Thu, 05 Sep 2013 15:33:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHfIv-0006As-1m for submit@debbugs.gnu.org; Thu, 05 Sep 2013 15:33:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHfIq-0003Cf-4e for bug-coreutils@gnu.org; Thu, 05 Sep 2013 15:33:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHfIl-00069y-8n for bug-coreutils@gnu.org; Thu, 05 Sep 2013 15:33:16 -0400 Received: from mpv2.tis.cwru.edu ([129.22.105.37]:10321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHfIl-00069t-3z; Thu, 05 Sep 2013 15:33:11 -0400 Received: from mpv6.tis.CWRU.Edu (EHLO mpv6.cwru.edu) ([129.22.104.221]) by mpv2.tis.cwru.edu (MOS 4.3.5-GA FastPath queued) with ESMTP id ASE44989; Thu, 05 Sep 2013 15:33:01 -0400 (EDT) Received: from caleb.INS.CWRU.Edu (EHLO caleb.ins.cwru.edu) ([129.22.8.211]) by mpv6.cwru.edu (MOS 4.3.3-GA FastPath queued) with ESMTP id BUP27631 (AUTH cpr); Thu, 05 Sep 2013 15:33:08 -0400 (EDT) Message-ID: <5228DC74.60407@case.edu> Date: Thu, 05 Sep 2013 15:33:08 -0400 From: Chet Ramey User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Eric Blake Subject: Re: -a vs -e References: <20a64a55-04fe-4653-8b63-2091f9414f41@googlegroups.com> <5228B270.1080405@redhat.com> <5228B51B.7000905@redhat.com> In-Reply-To: <5228B51B.7000905@redhat.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mpv2.tis.cwru.edu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 05 Sep 2013 15:48:28 -0400 Cc: chet.ramey@case.edu, bug-coreutils@gnu.org, bug-bash@gnu.org, kneufeld@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: chet.ramey@case.edu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/5/13 12:45 PM, Eric Blake wrote: > The POSIX wording states for 3-argument tests > (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html): > > ? If $2 is a binary primary, perform the binary test of $1 and $3. > ? If $1 is ?!?, negate the two-argument test of $2 and $3. > ? If $1 is ?(? and $3 is ?)?, perform the unary test of $2. > > The first two bullets both apply to your situation, but it can be > assumed that the ordering of the bullets is significant. Bash assumes that the order of the bullet points in the Posix description of `test' implies prioritization. - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIo3HMACgkQu1hp8GTqdKs9ygCfRp7ouDNHqgi0/7wGQLOOBa34 JWIAmwTKHIgeM0pCYAGP56x55dsmSo0L =xMCV -----END PGP SIGNATURE----- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 19 19:00:29 2018 Received: (at control) by debbugs.gnu.org; 19 Oct 2018 23:00:29 +0000 Received: from localhost ([127.0.0.1]:59969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDdkr-0002k8-1I for submit@debbugs.gnu.org; Fri, 19 Oct 2018 19:00:29 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:45283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDdkp-0002eQ-Fl for control@debbugs.gnu.org; Fri, 19 Oct 2018 19:00:27 -0400 Received: by mail-pg1-f182.google.com with SMTP id s3-v6so3145304pga.12 for ; Fri, 19 Oct 2018 16:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=f3JG0CZ/cuGRg1GvpWwdguRilLvk4HTRARnzPnOcXs4=; b=TIyBnoRtAXXrWLr2O/GL8R+4GCLuZhBIufgEP6zpKINLRfSvTW8/ASZiDCpd7jQawJ uuCygxdXY1mHN0noggzFp6W2Qv2Hrz3o1UB7KYDj+vyxlMvxWx29O5k2zqvtlhRPn4vq A901TaH3/CNkKtAen/NmHG0f6AK/JjXLPefh5rhOpJ1t6vsN+jlZnsh+t4ieUvjcWJQ7 G/HFuh6T7oQr0Vb0MakkbzihvB5usXV5Z1Wj0hcml7FRH4SxFC8gBA7RNB/SAT6DnxAC spLMD5v0Somsrp07go5prjekusd9YytYWdx/CeqKYDd3O0mxl6aL8Ig1V28v+YfHE8OZ cqGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=f3JG0CZ/cuGRg1GvpWwdguRilLvk4HTRARnzPnOcXs4=; b=e2JuRhn+qzibM37BSHxOgW0O+AjGVd/dwWssWP/z1ZYlBjL6J/Xy2EvNNGUWKNlhYE CtmS9fmUSPNcqRbg1E/HR0V6CJ3exPFZsxfeXP1QfMw4wEJ4p5oNvsCcn3llF4wFiwUC AL+kxZ6cDI8EAvLyBErCI07s9o8iA0gIOfWv63ZeIGjdYZ2Qn0bn9JyodPI+iRfhbbGE 9LUwDV9M5D/57s2kinzFii8QZRi3Uao/pt85wDnYhMPSMM5GbIFxF4OzkAhkAfRgTbGW XzrJVKVU4He/JVRX3kkmhdhw5SINeaqy4AlgBB1JrIZJXU1R9hXeD0XVXT/bEvokC7Uk E2YA== X-Gm-Message-State: ABuFfoiXdReLLer3G2NevqUUttU653UYCP47NTtLyPEJit0+wv928YzG PJ1TZiXmR0GyVDicTwNWsXyT7NmljJ0= X-Google-Smtp-Source: ACcGV609XoF/C6Jmv+aeCB8xb36YMkTdRjTDf/9CbdJYvdflB5hTbpVGxSSTvLf7ZY3LAAaFQNHP9Q== X-Received: by 2002:a63:78cc:: with SMTP id t195-v6mr34462497pgc.329.1539990020880; Fri, 19 Oct 2018 16:00:20 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id 72-v6sm46679748pfr.115.2018.10.19.16.00.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Oct 2018 16:00:19 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Fri, 19 Oct 2018 17:00:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 15278 confirmed retitle 15278 test: favor -a as binary op, with three arguments and ! [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.182 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 15278 confirmed retitle 15278 test: favor -a as binary op, with three arguments and ! From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 28 04:08:36 2018 Received: (at 15278) by debbugs.gnu.org; 28 Oct 2018 08:08:36 +0000 Received: from localhost ([127.0.0.1]:46597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGg7g-0002xr-Cc for submit@debbugs.gnu.org; Sun, 28 Oct 2018 04:08:36 -0400 Received: from mail-it1-f179.google.com ([209.85.166.179]:51513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGg7d-0002xT-L2; Sun, 28 Oct 2018 04:08:33 -0400 Received: by mail-it1-f179.google.com with SMTP id 74-v6so6115007itw.1; Sun, 28 Oct 2018 01:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:references:from:to:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=CROCjlhsaYI6zI1BKCeOkKoZkiPNnxznPx7+ivLrqBY=; b=RLI7jYWGuvI85KQiBHGx1DW/BWjunNLQXYqNPoa0XscBO3DQOY9+6BRtPGo9uYEcQH aDb8sWAUrO7WBvd+RDAaQI67VDa2cwB2gzmAoR7kiIFoyjqSE7OFm3NvpF5KGUhXXCEY 2XWtlD0icjmDy5SX3/pT3sKI7BRbkpifTijWfzn/MXnzNG8RF5c7HAg2de/k5efkV/cx 9PxDRo9h9AUFw1IDtVtMQm8CT43JPkAX4hcHFIn3FmcN6Suz/596VeUcwGSW7VWmRN0o wKH5LI8Gxh9xhJX32drx0cK8Rijy1iOneg+NkTo/NcqWxGWw82ue+ULp8K5QHQJN8mU6 0eYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:from:to:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CROCjlhsaYI6zI1BKCeOkKoZkiPNnxznPx7+ivLrqBY=; b=tsHV8ZgKioVeUfhcZsIzekcCnfjOULwTbuz6vl3n8ZdWQqk+SjPszeRl3F6UqY1NN+ VfVhX7RXpPWw3g4KKlCpgrGlXnaJ6HDwude6aJlkFhQZ6mnv6lX+ix+s/Ta3ZkqW1Til uTzeML32rSk6GwuearMlP8f0WhqzlHkSLoXBJi9WkP3Elmxe5QOKWkKBB+IaAMk7RxKN QxzhVshLZ6lrxzOQ24iKHGt4OoFVVZtmN0aq5L0QRcVeXHQEX4+r4BGDBrlmtvmQXa7c 4t/ERORQ1f7WW8Sqldz1dPhVhDHYlfHmZ3OYRAC3iaBqCogcPReh2i35pCDEV2W/3FKf /Z+w== X-Gm-Message-State: AGRZ1gLjqYnvzrjudHZmflSkRIRLtlO/0sAqGO/emYn6yOaNtSyOzDsC 81xE1XxCRiOsJ7ICM+aX3uStogKS8wk= X-Google-Smtp-Source: AJdET5cWEgDyaedfvkZc1InvhGVniBQ5xijg+IIFydmdWPgSP8CWO1LyFOuITnw1nvdu73Wy424ZQg== X-Received: by 2002:a05:660c:247:: with SMTP id t7mr8557420itk.107.1540714107533; Sun, 28 Oct 2018 01:08:27 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id w124-v6sm5492918ita.0.2018.10.28.01.08.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 01:08:25 -0700 (PDT) Subject: Re: bug#15278: -a vs -e References: <20a64a55-04fe-4653-8b63-2091f9414f41@googlegroups.com> <5228B270.1080405@redhat.com> <5228B51B.7000905@redhat.com> From: Assaf Gordon To: 15278@debbugs.gnu.org Message-ID: <6d7daa3c-d8c7-0926-fb21-a26dc740a406@gmail.com> Date: Sun, 28 Oct 2018 02:08:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <5228B51B.7000905@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15278 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 15278 fixed forcemerge 33097 15278 close 15278 stop (triaging old bugs) On 2013-09-05 10:45 a.m., Eric Blake wrote: [...] > Coreutils therefore should fix its test to favor binary -a over unary > -a, when there are three arguments and the first is !. Just last week Bernhard committed test: remove support for the ambigous -a unary operator https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=88c32fa68ee7057744bfb6d41f6e8eb68801306f So closing this as "fixed". -assaf From unknown Sat Aug 16 19:16:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 25 Nov 2018 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator