Re: bash variable names do not comply w/POSIX character set rules

2015-12-06 Thread Eduardo A . Bustamante López
This definition ( http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_230 ) states: 3.230 Name In the shell command language, a word consisting solely of underscores, digits, and alphabetics from the portable character set. The first character of a name is not a

bug with getting an array index or ...

2015-12-06 Thread shawn wilson
declare -a array=( ); echo "${!array[@]}"; echo "${!array[@]:-}" also, "${!array[@]:foo}" and :+foo and :-foo are all empty as well - I'm pretty sure this is not intended?

Re: bug with getting an array index or ...

2015-12-06 Thread konsolebox
On Sun, Dec 6, 2015 at 9:38 PM, shawn wilson wrote: > declare -a array=( ); echo "${!array[@]}"; > echo "${!array[@]:-}" > > also, "${!array[@]:foo}" and :+foo and :-foo are all empty as well - > I'm pretty sure this is not intended? > ${!name[@]:-word}, ${!name[@]:+word},

Substring Expansion fails with Debian filemanager gui, run in terminal

2015-12-06 Thread Bruce_Miller
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_VENDO$ uname output: Linux system-x 4.2.0-19-generic

Re: bug with getting an array index or ...

2015-12-06 Thread Chet Ramey
On 12/6/15 10:18 AM, konsolebox wrote: > On Sun, Dec 6, 2015 at 9:38 PM, shawn wilson wrote: >> declare -a array=( ); echo "${!array[@]}"; >> echo "${!array[@]:-}" >> >> also, "${!array[@]:foo}" and :+foo and :-foo are all empty as well - >> I'm pretty sure this is not int

Re: Substring Expansion fails with Debian filemanager gui, run in terminal

2015-12-06 Thread Chet Ramey
On 12/6/15 11:09 AM, Bruce_Miller wrote: > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > > If clicking on a functioning command line script from a filemanager gui and > selecting 'run in terminal' , substring expansions will fail in multiple > versions of Debia

Re: Installation of PDF/PS/DVI and HTML files

2015-12-06 Thread Ludovic Courtès
Chet Ramey skribis: > On 12/4/15 4:24 AM, Ludovic Courtès wrote: >> Greg Wooledge skribis: >> >>> On Thu, Dec 03, 2015 at 01:08:13PM +0200, Ludovic Courtès wrote: Given that the GCS suggests installing only the Info version of the manual by default (info "(standards) Standard Targets"

Re: Installation of PDF/PS/DVI and HTML files

2015-12-06 Thread Ludovic Courtès
Chet Ramey skribis: > On 12/3/15 6:05 AM, Ludovic Courtès wrote: [...] >> In addition, the ‘install’ rule in doc/Makefile.in would need to be >> split in ‘install-info’, ‘install-pdf’, etc. (as explained in the GCS), >> with ‘install’ depending only on ‘install-info’. > > Again, that's not quit

Re: Installation of PDF/PS/DVI and HTML files

2015-12-06 Thread Chet Ramey
On 12/6/15 4:18 PM, Ludovic Courtès wrote: >>> As Mathieu wrote, I am of course fine installing man and Info manuals by >>> default, like GNU packages generally do. >>> >>> The suggestion I make is to not install PDF/PS/DVI and HTML files by >>> default. >> >> Again, only the HTML files are inst

Re: bash variable names do not comply w/POSIX character set rules

2015-12-06 Thread Linda Walsh
Eduardo A. Bustamante López wrote: This definition ( http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_230 ) states: 3.230 Name In the shell command language, a word consisting solely of underscores, digits, and alphabetics from the portable character s

Re: [PATCH] Support configurable mode strings in prompt

2015-12-06 Thread Dylan Cali
On Sun, Nov 16, 2014 at 9:48 PM, Chet Ramey wrote: > Most of this will be in the next release of bash. I added some things and > left out the \m prompt expansion for now. > Hi Chet, I finally had a chance to play with the 4.4 beta. Unfortunately, it seems to be getting confused when color esc