GNU bug report logs - #17450
multiplication bug

Previous Next

Package: coreutils;

Reported by: julien becan <zoskoy <at> hotmail.fr>

Date: Fri, 9 May 2014 15:43:03 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 17450 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 17450 <at> debbugs.gnu.org, julien becan <zoskoy <at> hotmail.fr>
Subject: Re: bug#17450: multiplication bug
Date: Sat, 10 May 2014 19:33:42 +0100
On 05/10/2014 06:50 PM, Bernhard Voelker wrote:
> On 05/09/2014 05:51 PM, Pádraig Brady wrote:
>> http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a-3-does-not-work
> 
> Hi Padraig,
> 
> I don't know if this was discussed before: what do you think about
> adding a sentence to the FAQ that some shells allow to turn off
> globbing?  E.g. in bash with 'set -f' or 'set -o noglob':
> 
>   $ ( set -o noglob && expr 2 * 2 )
>   4

Maybe, though you'd probably never do that in the
context of calculations in a shell script,
where escaping the '*' is the standard and portable
way to achieve it.

cheers,
Pádraig.





This bug report was last modified 11 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.