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 c...@case.edu http://tiswww.cwru.edu/~chet/