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


Groups > gnu.bash.bug > #13782 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2018-03-01 11:32 -0500
Last post2018-03-01 11:32 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromChet Ramey <chet.ramey@case.edu>
Date2018-03-01 11:32 -0500
SubjectRe: Hi, I think I found a bug in a Ubuntu Bash here-document
Message-ID<mailman.9950.1519921941.27995.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web