[Bug 2112445] [NEW] Incorrect evaluation of expr

Heinrich Schuchardt 2112445 at bugs.launchpad.net
Wed Jun 4 08:58:23 UTC 2025


Public bug reported:

I have installed rust-coreutils 0.0.30-2.

I have created a symbolic link /usr/bin/expr =>
/usr/lib/cargo/bin/coreutils/expr.

When executing the appended script test.sh it does not find a space
between words.

With /usr/bin/expr => /usr/bin/gnuexpr the script finds a space.

My expectation is that both binaries should be equivalent.

Best regards

Heinrich

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Attachment added: "test.sh"
   https://bugs.launchpad.net/bugs/2112445/+attachment/5881968/+files/test.sh

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2112445

Title:
  Incorrect evaluation of expr

Status in rust-coreutils package in Ubuntu:
  Confirmed

Bug description:
  I have installed rust-coreutils 0.0.30-2.

  I have created a symbolic link /usr/bin/expr =>
  /usr/lib/cargo/bin/coreutils/expr.

  When executing the appended script test.sh it does not find a space
  between words.

  With /usr/bin/expr => /usr/bin/gnuexpr the script finds a space.

  My expectation is that both binaries should be equivalent.

  Best regards

  Heinrich

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2112445/+subscriptions




More information about the foundations-bugs mailing list