|
From: | Pádraig Brady |
Subject: | bug#24800: expr 8.25 seems to treat 0 in character class in paren incorrectly |
Date: | Wed, 26 Oct 2016 18:22:57 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 26/10/16 17:15, Paul Eggert wrote: > There's no bug here: "expr E" exits with status 1 if E evaluates to 0, > and expressions like "0 : '\([0-9]\)$'" do evaluate to 0. Yes this is not a bug but is very confusing. I've updated with this specific example at: http://www.pixelbeat.org/docs/coreutils-gotchas.html#expr
[Prev in Thread] | Current Thread | [Next in Thread] |