The bug is NOT the error of the original GNU package, but of the way how
it is integrated into the Ubuntu 21.04, because if I download the GNU
package itself, compile and try, then it works fine.

In detail what I did:

mkdir -p ~/bash

cd       ~/bash

rm -fr bash-*

sudo apt-get -y install byacc

wget https://ftp.gnu.org/gnu/bash/bash-5.1.tar.gz

tar xvzf bash-*.tar.gz
rm       bash-*.tar.gz
cd       bash-*

time ( ./configure ; make )

env -i PATH="$PWD:$PATH" ./bash --noprofile --norc

and here if I do the same cut and paste tests, and drop a command with a
terminating line feed character, then this bash binary will simply
execute it ...

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

Title:
  Ubuntu version of BASH losts or misinterprets the newline character
  coming from mouse paste

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1925823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to