delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/05/07:26:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=pwfx8QhiA5FIHlJFCvaw7KyUAXjMLByJlQXkymMaQe8wPg/2uSqKK
DdG4w6PTr7aQjLudBILjUTtuWvWNWk7iUkMDxyxvnzwu+7MrlrWRhbBfqRGze8C/
PLSP8HjDK/kURSxcun6FCvaKkdGO1a0xSqod/z3ua7kQDfW9nXtpSM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=m+JtfFr7o3YhaRnc2FpopRxQFTs=; b=ctOJ1YIX5wP3uIlODe/0tYMhRokP
R985U0l/Cmfe6gojwTD4NKy6C06Ib3Poah9nH9IY2C5XedPiXX9UekyKT8JLfJ6v
u2X7vjHbeE1MkR82UnAfhgunmcF1J4rPPOA+vCGmh8xFa5WoSbDRVxZfC1rA+OvV
duGv1FX6F88XZJs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=his
X-HELO: drew.franken.de
Date: Mon, 5 Feb 2018 13:26:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gawk: regression with unary plus
Message-ID: <20180205122631.GI2912@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5a779052 DOT 964c9d0a DOT b1d8f DOT e4da AT mx DOT google DOT com> <449cd6d95f6ea4e946ea9f5d350eafab AT smtp-cloud7 DOT xs4all DOT net>
MIME-Version: 1.0
In-Reply-To: <449cd6d95f6ea4e946ea9f5d350eafab@smtp-cloud7.xs4all.net>
User-Agent: Mutt/1.9.1 (2017-09-22)

--UoPmpPX/dBe4BELn
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  5 13:05, Houder wrote:
> On Sun, 04 Feb 2018 14:59:30, Steven Penny wrote:
> > Previously conversions could be triggered by either adding zero (+0), u=
nary
> > plus (+) or unary minus (-) [1]:
> [snip]
>=20
> > However now conversion only happens with adding zero and unary minus:
> [snip]
>=20
> > Does anyone know where this change was mentioned or why it was done?
> >=20
> > [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html
>=20
> For those who are interested:
>=20
>     https://unix.stackexchange.com/questions/421904/regression-with-unary=
-plus
>     (Regression with unary plus, by Steven Penny)
>=20
> As suggested by St=C3=A9phane Chazelas in his response, the change in beh=
aviour is
> problably not intentional.
>=20
> Modifying (i.e. extend it) the '0p_unary_plus CASE' in interpret.h, resto=
res
> the previous behaviour.
>=20
> Henri

I forwarded this to the gawk devel ML.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--UoPmpPX/dBe4BELn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlp4TXcACgkQ9TYGna5E
T6Cu1hAAgndkwhESEvBflEjtIY21b+dZMvtu74Mrt8x1WdM3Lv8SbRRX+SG1Xy2L
3DPdYfY2jl3xPC5hXLmfmvfvhTBxl2NPOIg/kUGzsimpDGxv1bAmi4j18mw0slsf
X8Q/58bNH/hYSTBdrqL+I2C5UHNm5SpabsLGjsMiOwYWJnGYc19RKpxm4hdRU8WS
+VQ77XoiXMlvLThqbq1Fr50wqIely+VxNezCc3WkqjB/Mk8gBtrTWw4A64ziECP3
qWdLXZ1Sly7chONAZiZx+syRETMj5k1+pPDRsyltjaIvZVBg3l22CcBuDyNTpFXd
8wYcvasZOXOkoZ+qXUmPNbTo/UUcMjpTVOv9NZuy2awzwBL5fpZ1lUXn9f7GaSZY
dvWOFqgTfINHwk7+t7ajcg6jBzGJZrBs6fzI4T2qyMfp2oDxZb9Y+Ae+rZHabExP
UGcmRuJugn7z9VwkPBShBHNzTwtnjxESo5sjeFVUrCqdCiQD101qb1b0jvLdHTnv
IpwBvV5UDtM65yZL4S2F/Z/cUZaOCtJ4mSAeSZ5EeVO1No028CJO2uyWlRiuSa6Y
9CPFsCR3hHp1P2dLrPkPcyaoSEqgUw/bxVtWbiGdhMPaxnSUzKKH87Pxe/TLXQ48
X2aLeQLz64P3v8eilCLnEQbuPAz1xE7hEo2qofgx5uDpELr1baw=
=daQ0
-----END PGP SIGNATURE-----

--UoPmpPX/dBe4BELn--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019