Enhancement: bash should have uniform escape syntaxes for `echo -e`, `printf` and `$'ANSI_C_style_escape'`.

2015-08-10 Thread Arthur200000
Configuration Information: Machine Type: i686-pc-cygwin, i686-pc-msys, x86_86-linux-gnu, x86_64-Apple-Darwin Bash Version: 4.3 Patch Level: 30 Release Status: release Description: Bash has different escape syntaxes for `echo -e`, `printf` and `$'ANSI_C_style_escape'`. Take a specific po

Re:Re: [DOC] Documentation for `complete' compacts[] is incomplete.

2015-08-10 Thread Arthur200000
At 2015-08-11 01:29:42, "Chet Ramey" wrote: >Have you considered reading the man page or perhaps the info doc? That's >where the actions are documented: > > -A action > The action may be one of the following to generate a > list of possib

RE: Feature Request re: syslog and bashhist

2015-08-10 Thread Arthur200000
You can add `-DSYSLOG_HISTORY` to your CFLAGS for building. And for formatting, apply this patch: --- bashhist.c 2015-08-11 00:09:38.449468800 +0800 +++ bashhist.c 2015-08-11 00:09:42.970623400 +0800 @@ -713,12 +713,12 @@ char trunc[SYSLOG_MAXLEN]; if (strlen(line) < SYSLOG_MAXLEN) -sy

[DOC] Documentation for `complete' compacts[] is incomplete.

2015-08-10 Thread Arthur200000
Configuration Information: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_

Declaring an empty global var as a reference in a function twice crashes bash

2015-03-22 Thread Arthur200000
Configuration Information: Machine: x86_64 OS: darwin13.3.0 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='darwin13.3.0' -DCONF_MACHTYPE='x86_64-apple-darwin13.3.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_