Re: Problem with sequences with variables?

2021-04-28 Thread Chet Ramey
On 4/28/21 7:02 PM, Tom (AST) Watson via Bug reports for the GNU Bourne Again SHell wrote: Hi... I was trying to do some sequences, and it looks like they don't like variables. See the following: Brace expansion happens first, before any of the other word expansions, so it requires integer c

Problem with sequences with variables?

2021-04-28 Thread Tom (AST) Watson
Hi... I was trying to do some sequences, and it looks like they don't like variables. See the following: [user@box3 ~]$ echo $BASH_VERSION 5.0.17(1)-release [user@box3 ~]$ echo {1..10} 1 2 3 4 5 6 7 8 9 10 [user@box3 ~]$ echo $l 10 [user@box3 ~]$ echo {1..${l}} {1..10} [user@box3 ~]$ Shouldn't

Re: Tab completion doesn't escape spaces when globbing while using autocd

2021-04-28 Thread Chet Ramey
On 4/27/21 4:59 PM, Manuel Boni wrote: Bash Version: 4.4 Patch Level: 23 Release Status: release Description: I currently have these settings in my .bashrc: shopt -s autocd shopt -s globstar shopt -s nocaseglob bind 'set show-all-if-ambiguous on' bind 'set completion-ignore-case on' bind 'TAB: