From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:43:00 2014 Received: (at submit) by debbugs.gnu.org; 9 May 2014 15:43:00 +0000 Received: from localhost ([127.0.0.1]:57130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wimws-00030x-Vd for submit@debbugs.gnu.org; Fri, 09 May 2014 11:42:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50435) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WifIY-00053Y-DH for submit@debbugs.gnu.org; Fri, 09 May 2014 03:32:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WifIJ-0000zF-Db for submit@debbugs.gnu.org; Fri, 09 May 2014 03:32:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WifIJ-0000zB-Aj for submit@debbugs.gnu.org; Fri, 09 May 2014 03:32:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WifIB-00085k-QY for bug-coreutils@gnu.org; Fri, 09 May 2014 03:32:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WifI4-0000ot-8H for bug-coreutils@gnu.org; Fri, 09 May 2014 03:32:27 -0400 Received: from dub0-omc3-s25.dub0.hotmail.com ([157.55.2.34]:65447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WifI4-0000oF-2I for bug-coreutils@gnu.org; Fri, 09 May 2014 03:32:20 -0400 Received: from DUB123-W27 ([157.55.2.7]) by dub0-omc3-s25.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 9 May 2014 00:32:18 -0700 X-TMN: [ZKtareHe8V0SWiLnE3Y+3c9Tg3UmKrs3w7tt1W21xDo=] X-Originating-Email: [zoskoy@hotmail.fr] Message-ID: Content-Type: multipart/alternative; boundary="_e6058932-67dd-47a6-b4db-d1b7f61795cb_" From: julien becan To: "bug-coreutils@gnu.org" Subject: multiplication bug Date: Fri, 9 May 2014 09:32:19 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 May 2014 07:32:18.0936 (UTC) FILETIME=[CEE3BF80:01CF6B58] X-detected-operating-system: by eggs.gnu.org: Windows XP 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: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 09 May 2014 11:42:57 -0400 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: -4.0 (----) --_e6058932-67dd-47a6-b4db-d1b7f61795cb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I've tried the `expr` program yesterday and I think that there is a problem= with multiplication because when I type 2 * 2 I have a syntax error. Do you have the solution ? Thanks Julien Becan = --_e6058932-67dd-47a6-b4db-d1b7f61795cb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

I've tried the `= expr` program yesterday and I think that there is a problem with multiplica= tion because when I type 2 * 2 I have a syntax error.

Do you have th= e solution ?

Thanks

Julien Becan
= --_e6058932-67dd-47a6-b4db-d1b7f61795cb_-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:51:26 2014 Received: (at 17450) by debbugs.gnu.org; 9 May 2014 15:51:26 +0000 Received: from localhost ([127.0.0.1]:57158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Win54-0003Gf-6d for submit@debbugs.gnu.org; Fri, 09 May 2014 11:51:26 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:3373) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Win51-0003GI-Fa; Fri, 09 May 2014 11:51:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQBAPn4bFNtTuyo/2dsb2JhbAANTINVxhsJAYEtgxkBAQEEeRALDQsJFg8JAwIBAgFFBg0BBwEBBRKIKwirSKVIF45SB4RABKBVjyts Received: from unknown (HELO [192.168.1.79]) ([109.78.236.168]) by mail2.vodafone.ie with ESMTP; 09 May 2014 16:51:16 +0100 Message-ID: <536CF973.8040808@draigBrady.com> Date: Fri, 09 May 2014 16:51:15 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: julien becan Subject: Re: bug#17450: multiplication bug References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17450 Cc: 17450@debbugs.gnu.org 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: 0.0 (/) tag 17540 notabug close 17450 stop http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a-3-does-not-work On 05/09/2014 08:32 AM, julien becan wrote: > Hello, > > I've tried the `expr` program yesterday and I think that there is a problem with multiplication because when I type 2 * 2 I have a syntax error. > > Do you have the solution ? > > Thanks > > Julien Becan > > From debbugs-submit-bounces@debbugs.gnu.org Sat May 10 13:50:15 2014 Received: (at 17450) by debbugs.gnu.org; 10 May 2014 17:50:15 +0000 Received: from localhost ([127.0.0.1]:58277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjBPa-0007tT-Ht for submit@debbugs.gnu.org; Sat, 10 May 2014 13:50:14 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:62988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjBPW-0007tA-VI for 17450@debbugs.gnu.org; Sat, 10 May 2014 13:50:12 -0400 Received: from [10.0.4.15] (p5084F89F.dip0.t-ipconnect.de [80.132.248.159]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0LkDdO-1XFm4G2BQY-00c96a; Sat, 10 May 2014 19:50:02 +0200 Message-ID: <536E66CB.40301@bernhard-voelker.de> Date: Sat, 10 May 2014 19:50:03 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?P=E1draig_Brady?= , julien becan Subject: Re: bug#17450: multiplication bug References: <536CF973.8040808@draigBrady.com> In-Reply-To: <536CF973.8040808@draigBrady.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:ocymkgJnHrfGl8MJgys+Ag+h6LZeUWD7AM2jygynsNM Y4WeU491dksXjUkzPS0nu4Pj7GsJLlvNDKUK6r87QH5amKAa5u zxBAji+ANbSTG7cHkk77LODS2FwOiEmMIlU+C8wtf2jz2F5EtU CZlMbqofJPAKFF+Ihrm6gUbUaBkacC3vucGMT/UarymfU6ZMKT hZ9PPzfINmvXVDT1Vaq+G1mv/Ti3nyT+wDP3F73gs9GZ/+Rv3w tOy9BBqY4juVALAEoT9ZK06OV+eIIPyLujaPd7Znlpk697+9gk yTaAAhW+IzFjxD99MQ+rJY/T5EbTsgEe3DGHNa/VDUc1bUJIQK iVoLQHLtr8revjn7mBwVT8bKcw7L8Q2iXxjGpIiep X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17450 Cc: 17450@debbugs.gnu.org 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: 0.0 (/) 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 Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Sat May 10 14:33:57 2014 Received: (at 17450) by debbugs.gnu.org; 10 May 2014 18:33:57 +0000 Received: from localhost ([127.0.0.1]:58284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjC5s-0000lM-PJ for submit@debbugs.gnu.org; Sat, 10 May 2014 14:33:57 -0400 Received: from mail5.vodafone.ie ([213.233.128.176]:48793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjC5p-0000ky-LA for 17450@debbugs.gnu.org; Sat, 10 May 2014 14:33:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQBAPdvblNtT7Bo/2dsb2JhbAANTINVxiMKAYErgxkBAQEEMgFGEAsNAQoJFg8JAwIBAgFFBg0BBwEBBYg9CKsApSUXjlIHhEAEoFaPMGw Received: from unknown (HELO [192.168.1.79]) ([109.79.176.104]) by mail3.vodafone.ie with ESMTP; 10 May 2014 19:33:45 +0100 Message-ID: <536E7106.9070101@draigBrady.com> Date: Sat, 10 May 2014 19:33:42 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Bernhard Voelker Subject: Re: bug#17450: multiplication bug References: <536CF973.8040808@draigBrady.com> <536E66CB.40301@bernhard-voelker.de> In-Reply-To: <536E66CB.40301@bernhard-voelker.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17450 Cc: 17450@debbugs.gnu.org, julien becan 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: 0.0 (/) 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. From unknown Sat Jun 21 10:44:57 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, 08 Jun 2014 11:24:04 +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