Re: Bug report: Bash version 4.3.11: complete: -i: invalid option on TAB auto completion

2016-12-20 Thread joka
thank you for your answers, i reported such bug to the bash-completion package holder. Regards. On 20-12-2016 18:29, Chet Ramey wrote: On 12/20/16 1:24 PM, Eduardo Bustamante wrote: I cannot reproduce this on bash 4.4: They probably have something defined as the default completer using `com

Re: ssh does not source /etc/bash.bashrc, but manual execution of /bin/bash does it under specific circumstances

2016-12-20 Thread Nick
Hello Chet and Eduardo, thank you very much for your replies. Everything is crystal clear now. Sorry for the 'wrong alarm' (: Best, Nick On 20/12/2016 20:24, Chet Ramey wrote: On 12/20/16 11:11 AM, Nick wrote: i came up with a weird behavior of ssh+bash on my Debian box (8.6).

Re: Bug report: Bash version 4.3.11: complete: -i: invalid option on TAB auto completion

2016-12-20 Thread Chet Ramey
On 12/20/16 1:24 PM, Eduardo Bustamante wrote: > I cannot reproduce this on bash 4.4: They probably have something defined as the default completer using `complete -D', and that probably tries to add a compspec for it by blindly sticking `command' in front of the word to be completed. -- ``The l

Re: ssh does not source /etc/bash.bashrc, but manual execution of /bin/bash does it under specific circumstances

2016-12-20 Thread Chet Ramey
On 12/20/16 11:11 AM, Nick wrote: > i came up with a weird behavior of ssh+bash on my Debian box (8.6). > I created an alias in /etc/bash.bashrc file, which is sourced through > /etc/profile. > Everything worked fine, till i decided to remove the '. > /etc/bash.bashrc' li

Re: Bug report: Bash version 4.3.11: complete: -i: invalid option on TAB auto completion

2016-12-20 Thread Eduardo Bustamante
I cannot reproduce this on bash 4.4: dualbus@yaqui:~$ { for i in '-i' '\t' '\t' '\t' '\n' 'exit\n'; do sleep 1; printf -- "$i"; done } | script --command 'bash --norc --noprofile' Script started, file is typescript bash-4.4$ -i bash: -i: command not found bash-4.4$ exit exi

Re: ssh does not source /etc/bash.bashrc, but manual execution of /bin/bash does it under specific circumstances

2016-12-20 Thread Eduardo Bustamante
Please read http://mywiki.wooledge.org/DotFiles#Remote_shell_logins (perhaps read http://mywiki.wooledge.org/DotFiles#Console_logins first). The key to understanding this is to know that there are three basic types of shell startup: - Login shell - Interactive shell - Non-login Non-interactive she

ssh does not source /etc/bash.bashrc, but manual execution of /bin/bash does it under specific circumstances

2016-12-20 Thread Nick
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='$ uname output: Linux kata

Bug report: Bash version 4.3.11: complete: -i: invalid option on TAB auto completion

2016-12-20 Thread joka
I was running it on a Ubuntu 14.04 LTS machine; the bug occurred when i inputed $ -i and i proceeded with a TAB and it returned this: $ -i bash: complete: -i: invalid option complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F f

Bug report: Bash version 4.3.11: complete: -i: invalid option on TAB auto completion

2016-12-20 Thread joka
I was running it on a Ubuntu 14.04 LTS machine; the bug occurred when i inputed $ -i and i proceeded with a TAB and it returned this: $ -i bash: complete: -i: invalid option complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F func

Re: bug report

2016-12-20 Thread Greg Wooledge
On Tue, Dec 20, 2016 at 12:39:12PM +, Hossein Vatani wrote: > Hi experts,I encountered a issue that i guessed a bug.i tried to make bash > script that generate strong password and save it with htpasswd command.if i > generate er"exc'oti!ot  for password, i could not send it as string to > ht

bug report

2016-12-20 Thread Hossein Vatani
Hi experts,I encountered a issue that i guessed a bug.i tried to make bash script that generate strong password and save it with htpasswd command.if i generate er"exc'oti!ot  for password, i could not send it as string to htpasswd and more strong, in command line i has this problem too."-bash: !