From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 17 14:49:29 2012 Received: (at submit) by debbugs.gnu.org; 17 Jun 2012 18:49:29 +0000 Received: from localhost ([127.0.0.1]:46083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgKXQ-00085Q-RO for submit@debbugs.gnu.org; Sun, 17 Jun 2012 14:49:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60782) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgKAt-0007Xw-QN for submit@debbugs.gnu.org; Sun, 17 Jun 2012 14:26:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgK7m-0005l7-VM for submit@debbugs.gnu.org; Sun, 17 Jun 2012 14:23:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgK7m-0005l0-PB for submit@debbugs.gnu.org; Sun, 17 Jun 2012 14:22:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgK7l-0002qK-76 for bug-coreutils@gnu.org; Sun, 17 Jun 2012 14:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgK7j-0005kT-A0 for bug-coreutils@gnu.org; Sun, 17 Jun 2012 14:22:56 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:58421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgK7j-0005kA-3b for bug-coreutils@gnu.org; Sun, 17 Jun 2012 14:22:55 -0400 Received: by vcbfl10 with SMTP id fl10so2942012vcb.0 for ; Sun, 17 Jun 2012 11:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=buJ5U3blvY+fGk+DgQvpqTQVFCFlOVLMW6RsUPsZnu8=; b=wjc0Jwuzp7aWCIL40aQrdW160x1iubMhnBTT2zxDGIsoCBt6ofLQT40iP8ZxCqSU2Q vzHFJgfxTKIXJrqprCS9850dr/T1xlYZyg16DsLfNRZgn5xML1JAcXCClgVipw7d/nrN Q6s1Le5MwuejdQrIvLrNOStMFpArOh5XNQWr81J+Tm0/sIRJ5SJMLiWDxXbeaJuSzhd2 kNzkwqxcnjgRRQFdQ7K5fw4Q9uTf4CAb+sWYZlvETt+pfpV02NTuMYmEnDxgFyWSlzDg /oYweTLmXRfqYT0ummqqs/Y8BBI01mlUNBWPWBfvXHgYx6FmtW60DHvkvNTUTui4QFbw MnPA== MIME-Version: 1.0 Received: by 10.52.72.79 with SMTP id b15mr5305874vdv.13.1339957372551; Sun, 17 Jun 2012 11:22:52 -0700 (PDT) Received: by 10.220.155.201 with HTTP; Sun, 17 Jun 2012 11:22:52 -0700 (PDT) Date: Sun, 17 Jun 2012 23:52:52 +0530 Message-ID: Subject: bug in expr From: puneeth poduri To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=20cf307f362e34830c04c2af2387 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 17 Jun 2012 14:49:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --20cf307f362e34830c04c2af2387 Content-Type: text/plain; charset=ISO-8859-1 hi, i use the following linux distro Linux .home 2.6.43.5-2.fc15.i686 #1 SMP Tue May 8 12:07:12 UTC 2012 i686 i686 i386 GNU/Linux the following is the problem $ expr 1 + 1 2 $ expr 1 * 1 expr: syntax error $ _ sorry if it was my mis-understanding of the manual. -- thank you --20cf307f362e34830c04c2af2387 Content-Type: text/html; charset=ISO-8859-1 hi,
i use the following linux distro
Linux <system name>.home 2.6.43.5-2.fc15.i686 #1 SMP Tue May 8 12:07:12 UTC 2012 i686 i686 i386 GNU/Linux

the following is the problem

$ expr 1 + 1
2
$ expr 1 * 1
expr: syntax error
$ _


sorry if it was my mis-understanding of the manual.
--
thank you
--20cf307f362e34830c04c2af2387-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 17 16:53:59 2012 Received: (at 11730) by debbugs.gnu.org; 17 Jun 2012 20:53:59 +0000 Received: from localhost ([127.0.0.1]:46182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgMTu-0002SB-3Q for submit@debbugs.gnu.org; Sun, 17 Jun 2012 16:53:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47181) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgMTr-0002S1-Ps for 11730@debbugs.gnu.org; Sun, 17 Jun 2012 16:53:57 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5HKog9o019411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Jun 2012 16:50:42 -0400 Received: from [10.3.233.164] (vpn-233-164.phx2.redhat.com [10.3.233.164]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5HKofaT001433; Sun, 17 Jun 2012 16:50:41 -0400 Subject: Re: bug#11730: bug in expr From: Ondrej Vasik To: puneeth poduri In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Organization: Red Hat, Inc. Date: Sun, 17 Jun 2012 22:50:40 +0200 Message-ID: <1339966240.30816.5.camel@dhcp-24-196.brq.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11730 Cc: 11730@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: ovasik@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) On Sun, 2012-06-17 at 23:52 +0530, puneeth poduri wrote: > 11730 Hi, > i use the following linux distro > Linux .home 2.6.43.5-2.fc15.i686 #1 SMP Tue May 8 12:07:12 UTC > 2012 i686 i686 i386 GNU/Linux > Version of coreutils (or package you are reporting bug against) is usually more helpful than the version of the Linux kernel and architecture. > > $ expr 1 + 1 > 2 > $ expr 1 * 1 > expr: syntax error > $ _ > > > sorry if it was my mis-understanding of the manual. > This is really your misunderstanding of the shell behaviour. "*" character is special, it gets expanded by the shell. As this is quite common misunderstanding, it is part of GNU coreutils FAQ. http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a-3-does-not-work Please consider reading this faq, it might save you from other common misunderstanding in the future. Greetings, Ondrej Vasik From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 17 20:44:52 2012 Received: (at control) by debbugs.gnu.org; 18 Jun 2012 00:44:52 +0000 Received: from localhost ([127.0.0.1]:46279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgQ5M-0007bH-3g for submit@debbugs.gnu.org; Sun, 17 Jun 2012 20:44:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60942) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgQ5J-0007b9-Pp for control@debbugs.gnu.org; Sun, 17 Jun 2012 20:44:50 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5I0fZ5I002955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 17 Jun 2012 20:41:35 -0400 Received: from [10.36.116.30] (ovpn-116-30.ams2.redhat.com [10.36.116.30]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5I0fXuB007479 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 17 Jun 2012 20:41:34 -0400 Message-ID: <4FDE793C.9060007@draigBrady.com> Date: Mon, 18 Jun 2012 01:41:32 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: closing 11730 X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) package coreutils close 11730 tags 11730 notabug From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 18 01:44:59 2012 Received: (at 11730) by debbugs.gnu.org; 18 Jun 2012 05:44:59 +0000 Received: from localhost ([127.0.0.1]:46372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgUln-0006di-63 for submit@debbugs.gnu.org; Mon, 18 Jun 2012 01:44:59 -0400 Received: from mx.meyering.net ([88.168.87.75]:39423) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgUlk-0006dX-UD; Mon, 18 Jun 2012 01:44:57 -0400 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id D5C406006F; Mon, 18 Jun 2012 07:41:41 +0200 (CEST) From: Jim Meyering To: =?utf-8?B?T25kxZllaiBWYcWhw61r?= Subject: Re: bug#11730: bug in expr In-Reply-To: <1339966240.30816.5.camel@dhcp-24-196.brq.redhat.com> (Ondrej Vasik's message of "Sun, 17 Jun 2012 22:50:40 +0200") References: <1339966240.30816.5.camel@dhcp-24-196.brq.redhat.com> Date: Mon, 18 Jun 2012 07:41:41 +0200 Message-ID: <87ipeptbvu.fsf@rho.meyering.net> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11730 Cc: puneeth poduri , 11730@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 11730 + notabug close 11730 thanks Ondrej Vasik wrote: > This is really your misunderstanding of the shell behaviour. "*" > character is special, it gets expanded by the shell. As this is quite > common misunderstanding, it is part of GNU coreutils FAQ. > http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a= -3-does-not-work Thanks for lending a hand, Ond=C5=99ej. I've marked this as a non-bug and closed the ticket via the directives above Bcc'd to control@debbugs.gnu.org -- which anyone can do. From unknown Tue Jun 17 01:50:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 16 Jul 2012 11:24:03 +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