Re: History substitution fails after semi-colon pound

2013-12-17 Thread Chet Ramey
On 12/17/13, 11:46 AM, Josh Harding wrote: > 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-unknown-linux-gnu'

History substitution fails after semi-colon pound

2013-12-17 Thread Josh Harding
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-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'

Lengthy working dir (\w) breaks wrapping in a multi line coloured PS1 prompt

2013-12-17 Thread Jinesh Choksi
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' -DPACKA

Re: multi-line alias executed out of order

2013-12-17 Thread Chet Ramey
> Description:In a multi-line alias, where entries are separated by semi-colon, > "source" commands are not executed in-step with all the other commands. > After all the non "source" commands are executed, the "source" commands are > executed in reverse order. See below for an example. > Repe

Re: multi-line alias executed out of order

2013-12-17 Thread Pierre Gaston
On Tue, Dec 17, 2013 at 6:33 AM, Andrew Martin wrote: > Configuration Information [Automatically generated, do not > change]:Machine: x86_64OS: linux-gnuCompiler: gccCompilation CFLAGS: > -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' > -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -

Re: bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Greg Wooledge
On Tue, Dec 17, 2013 at 03:18:31PM +0200, Sergey Skripnick wrote: > Description: > When executed script (by `source' or by dot syntax) which have 0d0a > characters as a newlines, readed variables have incorrect values. As you > can see below, 0d character is included, This is expected. >

Re: bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Pierre Gaston
On Tue, Dec 17, 2013 at 3:18 PM, Sergey Skripnick wrote: > > 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

bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Sergey Skripnick
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' -DP

multi-line alias executed out of order

2013-12-17 Thread Andrew Martin
Configuration Information [Automatically generated, do not change]:Machine: x86_64OS: linux-gnuCompiler: gccCompilation 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