Comment 7 for bug 1925823

Revision history for this message
Péter Prőhle (prohlep) wrote : Re: losts or misinterprets the newline character coming from mouse paste

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 ...