Re: accents

2011-05-09 Thread Thomas De Contes
Le 9 mai 2011 à 20:21, Greg Wooledge a écrit : > On Mon, May 09, 2011 at 04:46:14PM +0200, Thomas De Contes wrote: >> Description: >> >> 1 >> when i do >> PS1="&# $PS1" >> then I have problems since there is some accents in my command lines : > > What is the value of PS1 before you prepend ampe

Re: Possibly incorrect parsing of double doublequotes

2011-05-09 Thread Mårten Wikström
2011/5/9 Mårten Wikström : > 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'

Re: accents

2011-05-09 Thread Greg Wooledge
On Mon, May 09, 2011 at 04:46:14PM +0200, Thomas De Contes wrote: > Description: > > 1 > when i do > PS1="&# $PS1" > then I have problems since there is some accents in my command lines : What is the value of PS1 before you prepend ampersand-hash-space to it? What does the ampersand-hash-space h

accents

2011-05-09 Thread Thomas De Contes
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: darwin10.7.0 Compiler: /usr/bin/gcc-4.2 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='darwin10.7.0' -DCONF_MACHTYPE='i386-apple-darwin10.7.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/Us

Possibly incorrect parsing of double doublequotes

2011-05-09 Thread Mårten Wikström
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='/usr/share/locale' -DPACKAGE

Re: Yet another quoting question

2011-05-09 Thread Peggy Russell
> For straight debugging output, it's probably ok. You might have to > play with it a little if you want to make it into something you can > eval from a command substitution to copy an array. Just another thought, declare -p aa is nice for debugging arrays. help declare ... -pdisplay t