On Thu, Jan 30, 2014 at 08:23:36PM +0800, Dan Jacobson wrote:
> OK fixed spelling.
> Put in .bashrc to prevent accidental execution of many line clipboard paste
> dumps:
> case $- in *i*)
> safety_seconds=5 SECONDS=1
> PROMPT_COMMAND="if ((SECONDS==0)); then echo TOO FAST HOLMES, waiting
Release 4.3.0(1)-rc2
The help for "case", in the shell's builtin command "help", shows the
operator ;; but not the operators ;& and ;;&.
help case
Peg Russell
Thanks - understandable although was confusing at the time and made for a
nasty subtle scripting bug.
Bash is not for the faint hearted.
On 31 January 2014 19:45, Chet Ramey wrote:
> On 1/31/14 10:39 AM, Jonathan Doull wrote:
>
> > Bash Version: 4.2
> > Patch Level: 25
> > Release Status: rele
On 1/31/14 10:39 AM, Jonathan Doull wrote:
> Bash Version: 4.2
> Patch Level: 25
> Release Status: release
>
> Description:
>
> Variables can be automatically cast from string to array.
> However when cast from array to string, the cast silently fails.
Not quite. The bash man page says:
"Refe
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