bug-bash
[Top][All Lists]
Advanced

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

Re: An unexpected EOF error is shown when completing a filename inside n


From: Eduardo A . Bustamante López
Subject: Re: An unexpected EOF error is shown when completing a filename inside nested process substitutions
Date: Fri, 22 Jan 2016 12:31:28 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Lauri,

Thanks for your report.

This is fixed in the devel branch (bash v4.4). I can confirm the issue in v4.3:


    address@hidden ~ % { sleep 1; printf ': <(: <(: /etc/pass'; sleep 1; printf 
'\t'; sleep 1; printf ') )\necho $?\n\030\026exit\n'; } | script -q -c 
'/home/dualbus/local/src/gnu/bash/bash --norc --noprofile -i' /dev/null 
    bash-4.4$ : <(: <(: /etc/passwd) )
    bash-4.4$ echo $?
    0
    bash-4.4$ 
    GNU bash, version 4.4.0(1)-rc1 (x86_64-unknown-linux-gnu)
    bash-4.4$ exit
    exit
    
    address@hidden ~ % { sleep 1; printf ': <(: <(: /etc/pass'; sleep 1; printf 
'\t'; sleep 1; printf ') )\necho $?\n\030\026exit\n'; } | script -q -c 
'/bin/bash --norc --noprofile -i' /dev/null 
    bash-4.3$ : <(: <(: /etc/passbash: command substitution: line 2: unexpected 
EOF while looking for matching `)'
    bash: command substitution: line 3: syntax error: unexpected end of file
    wd) )
    bash-4.3$ echo $?
    0
    bash-4.3$ 
    GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu)
    bash-4.3$ exit
    exit
    
    address@hidden ~ % { sleep 1; printf ': <(: <(: /etc/pass'; sleep 1; printf 
'\t'; sleep 1; printf ') )\necho $?\n\030\026exit\n'; } | script -q -c 
'/home/dualbus/local/src/gnu/bash/bash --norc --noprofile -i' /dev/null
    bash-4.3$ : <(: <(: /etc/passbash: command substitution: line 2: unexpected 
EOF while looking for matching `)'
    bash: command substitution: line 3: syntax error: unexpected end of file
    wd) )
    bash-4.3$ echo $?
    0
    bash-4.3$ 
    GNU bash, version 4.3.42(1)-release (x86_64-unknown-linux-gnu)
    bash-4.3$ exit
    exit

-- 
Eduardo Bustamante
https://dualbus.me/



reply via email to

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