segfault with bad array subscript

2011-09-15 Thread Diego Augusto Molina
amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 4.1 Patch Level: 5 Release Status: release Description: Accidentally found the bug. This is what I executed: /bin/bash -c 'declare -r a[]=asd' -- Diego Augusto Molina diegoaugusto

bad double-quoted pattern substitution in indexed arrays

2011-02-27 Thread Diego Augusto Molina
aring a variable, assigning it a single quote and expanding it in the "string" part of the substitution: $ q="'" $ echo "${my_array[@]/#/$q}" (Proposed by Ulrich Müller) This is discussed in Gentoo's bugzilla in bug #356403 -- Diego Augusto Molina diegoaugustomol...@gmail.com

Fwd: EL MONSTRUO SALIO A MATAR

2010-09-25 Thread Diego Augusto Molina
Mensaje original Asunto: EL MONSTRUO SALIO A MATAR Fecha: Fri, 24 Sep 2010 18:33:45 -0700 (PDT) De: Daniel Llovera A: diegoaugustomol...@gmail.com CC: sebastian_cru...@hotmail.com *_EL MONSTRUO SALIÓ A MATAR_* * * *Fausto es mi nieto. Fausto Gael, sus

Assignment to integer variable

2010-09-14 Thread Diego Augusto Molina
acute accent, grave accent, circumflex accent, 'Ñ', 'ñ', 'ç', 'Ç', and some more I can't remember by now. Hoped it would just do nothing, as happens when asigning anything that is not a number to a variable of this kind. Thank you for BASH. Repeat-By: declare -i variable variable='á' -- Diego Augusto Molina diegoaugustomol...@gmail.com