Re: expand x*y concludes with one

2017-06-25 Thread 積丹尼 Dan Jacobson
OK I submitted http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865875 against bash-completion.

Re: Fwd: Non-upstream patches for bash (2014)

2017-06-25 Thread Chet Ramey
On 6/24/17 1:41 PM, Eduardo A. Bustamante López wrote: > I was looking through this old thread: > http://seclists.org/oss-sec/2014/q3/851 > > It looks like the issue reported in there is still there: > > dualbus@debian:~$ LANG=zh_CN.GBK printf 'echo \u4e57\n' |LANG=zh_CN.GBK bash > �\ > dua

Re: Bug in select-command

2017-06-25 Thread Chet Ramey
On 6/24/17 7:46 AM, sky...@top-email.net wrote: > It is necessary to refresh the variable $COLUMNS in a script (COLUMNS="tput > cols") otherwise the command "select" will not set the number of columns > correctly for actual screen resolution. > > Information: checkwinsizeon I can't

Re: Bug in select-command

2017-06-25 Thread Chet Ramey
On 6/24/17 10:46 AM, Eduardo A. Bustamante López wrote: > I think this is an easier way to reproduce the problem. I have a terminal > window with the following dimensions: > > dualbus@debian:~$ declare -p COLUMNS LINES > declare -- COLUMNS="191" > declare -- LINES="49" > > dualbus@debian

Re: Bug in select-command

2017-06-25 Thread Chet Ramey
On 6/24/17 1:38 PM, Eduardo A. Bustamante López wrote: > On Sat, Jun 24, 2017 at 01:17:23PM -0400, Chet Ramey wrote: > [...] >> You haven't exported these. If you had, the subshell started to run the >> script would have the correct values. > > Hm. I think this may be a documentation / usability

Re: Fwd: Non-upstream patches for bash (2014)

2017-06-25 Thread George
On Sun, 2017-06-25 at 12:23 -0400, Chet Ramey wrote: > On 6/24/17 1:41 PM, Eduardo A. Bustamante López wrote: > > > > >   dualbus@debian:~$ LANG=zh_CN.GBK printf '\u4e57' | od -tx1 -An > >    81 5c > > > > It looks like it doesn't detect that \x81\x5c is a single character, and > > instead treat