Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #13782

Re: Hi, I think I found a bug in a Ubuntu Bash here-document

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Hi, I think I found a bug in a Ubuntu Bash here-document
Date 2018-03-01 11:32 -0500
Message-ID <mailman.9950.1519921941.27995.bug-bash@gnu.org> (permalink)
References <CAESwSXtvO-w1qS45FgWUNEUVBPSRz4jUnZ-54jmhB01RnhSzrg@mail.gmail.com>

Show all headers | View raw


On 2/28/18 12:41 PM, Benqzq wrote:
> I wrote a minimal, detailed, replicable and markdowned description of the
> problem in the following link and I report this after days of testing and
> not "on the fly":

I can't reproduce it pasting into a Mac OS X Terminal window with an ssh
connection to an Ubuntu 16 box:

ubuntu@ip-172-31-0-164:~/build/bash-4.4.19$ echo $BASH_VERSION
4.4.19(1)-release
ubuntu@ip-172-31-0-164:~/build/bash-4.4.19$ uname -a
Linux ip-172-31-0-164 4.4.0-1049-aws #58-Ubuntu SMP Fri Jan 12 23:17:09 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-172-31-0-164:~/build/bash-4.4.19$ cat <<-EOF >> "$HOME"/.bashrc
>     export s_a="/etc/nginx/sites-available"
>     export s_e="/etc/nginx/sites-enabled"
>     export drt="/var/www/html"
>     source "$HOME"/"$repo"/software_internal.sh
> EOF

and, just for grins, using the Ubuntu-supplied bash-4.3:

ubuntu@ip-172-31-0-164:~/build/bash-4.4.19$ echo $BASH_VERSION
4.3.48(1)-release
ubuntu@ip-172-31-0-164:~/build/bash-4.4.19$ cat <<-EOF >> "$HOME"/.bashrc
>     export s_a="/etc/nginx/sites-available"
>     export s_e="/etc/nginx/sites-enabled"
>     export drt="/var/www/html"
>     source "$HOME"/"$repo"/software_internal.sh
> EOF



-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Hi, I think I found a bug in a Ubuntu Bash here-document Chet Ramey <chet.ramey@case.edu> - 2018-03-01 11:32 -0500

csiph-web