bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Chet Ramey
Subject: Re: Hi, I think I found a bug in a Ubuntu Bash here-document
Date: Thu, 1 Mar 2018 11:32:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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:

address@hidden:~/build/bash-4.4.19$ echo $BASH_VERSION
4.4.19(1)-release
address@hidden:~/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
address@hidden:~/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:

address@hidden:~/build/bash-4.4.19$ echo $BASH_VERSION
4.3.48(1)-release
address@hidden:~/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    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]