voyé le : Lundi 29 décembre 2014 17h22
Objet : Re: bash complete.c
I still have differents results, depending on the input. Is this a bug ?
[foo@test ~]$ /bin/bin/uname
Display all 1066 possibilities? (y or n)
[foo@test ~]$ /bin/uname
Linux
[foo@test ~]$
le : Lundi 29 décembre 2014 15h59
Objet : Re: bash complete.c
Looking threw bash 4.3, it seems that readline/complete.c is forking a child
too.
Maybe i'm wrong, but why the static int get_y_or_n could execute something ?
# ssh foo@test "strace -Ff -e execve /bin/bash_4.3 -i&q
$
[
Display all 1066 possibilities? (y or n)
a
b
c
d;id;ls; (nothing)
exit (control-D)
Vincent.
De : Bob Proulx
À : Vincent Leduc
Cc : "bug-bash@gnu.org"
Envoyé le : Samedi 27 décembre 2014 12h08
Objet : Re: bash complete.c
Vincent Leduc wrote:
> The null redirect was
Vincent Leduc wrote:
> The null redirect was used for the /etc/issue to not be shown
> here. I mean although we dont have any tty attached, i assume the
> builtin should not do this. I only tested it with an older release,
> as you said, it seems to be corrected.
If I don't include -t then I get t
: "bug-bash@gnu.org"
Envoyé le : Vendredi 26 décembre 2014 19h36
Objet : Re: bash complete.c
Vincent Leduc wrote:
> sh-3.2# ssh localhost bash -i 2>/dev/null
> root@localhost's password:
> [tab][tab][enter]
> Display all 1797 possibilities? (y or n)[enter]
Al
Vincent Leduc wrote:
> sh-3.2# ssh localhost bash -i 2>/dev/null
> root@localhost's password:
> [tab][tab][enter]
> Display all 1797 possibilities? (y or n)[enter]
Although I can reproduce this in bash 4.2 it is not reproducible for
me in bash 4.3. I assume that it was improved there.
One proble
Another way to do it.
printf "\x9\x9sssh \$ENid" | ssh localhost bash -i
Regards.
De : Vincent Leduc
À : "bug-bash@gnu.org"
Envoyé le : Vendredi 26 décembre 2014 15h08
Objet : bash complete.c
Hi,
Dont know if it's the right place to post, just saw this threw bash -i.
# grep "Di