GNU bug report logs - #67160
defect with linux expr command on chromebook build 118

Previous Next

Package: coreutils;

Reported by: r n <neemro <at> gmail.com>

Date: Tue, 14 Nov 2023 07:41:04 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67160 in the body.
You can then email your comments to 67160 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#67160; Package coreutils. (Tue, 14 Nov 2023 07:41:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to r n <neemro <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 14 Nov 2023 07:41:04 GMT) Full text and rfc822 format available.

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

From: r n <neemro <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: defect with linux expr command on chromebook build 118
Date: Mon, 13 Nov 2023 22:42:21 -0800
[Message part 1 (text/plain, inline)]
I have a lenovo slim 3 chromebook with linux version 5.15.130-etc and when
expr encounter an asterisk for multiplying args, it return a syntax error
unexpected argument 'code 1'. All other arithmetic operators are correctly
interpreted. Please let me know if you need more information to reproduce
the issue.
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#67160; Package coreutils. (Tue, 14 Nov 2023 12:07:01 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: r n <neemro <at> gmail.com>, 67160 <at> debbugs.gnu.org
Subject: Re: bug#67160: defect with linux expr command on chromebook build 118
Date: Tue, 14 Nov 2023 12:05:52 +0000
tag 67160 notabug
close 67160
stop

On 14/11/2023 06:42, r n wrote:
> I have a lenovo slim 3 chromebook with linux version 5.15.130-etc and when
> expr encounter an asterisk for multiplying args, it return a syntax error
> unexpected argument 'code 1'. All other arithmetic operators are correctly
> interpreted. Please let me know if you need more information to reproduce
> the issue.

This sounds like the '*' is not appropriately quoted,
and the shell is expanding it.

For details see:
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a-3-does-not-work

thanks,
Pádraig




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 14 Nov 2023 12:08:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 67160 <at> debbugs.gnu.org and r n <neemro <at> gmail.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 14 Nov 2023 12:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Dec 2023 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 152 days ago.

Previous Next


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