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.

Full log


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




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

Previous Next


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