Re: Questions to bash read builtin functionality

2012-12-20 Thread Fiedler Roman
-Ursprüngliche Nachricht- Von: Chet Ramey [mailto:chet.ra...@case.edu] Gesendet: Mittwoch, 19. Dezember 2012 22:50 An: Fiedler Roman Cc: chet.ra...@case.edu; bug-bash@gnu.org Betreff: Re: AW: Questions to bash read builtin functionality On 12/17/12 3:34 AM, Fiedler Roman wrote:

Re: Questions to bash read builtin functionality

2012-12-20 Thread Chet Ramey
On 12/20/12 6:21 AM, Fiedler Roman wrote: OK, so if I understand correctly, following should be true: Referring to my e-mail from Mo 17.12.2012 09:35, it seems that you get the hypothetical output, which is correct, while the script on my side produces different output. Hence the bash

Re: Bash 4.2.39 now available for OpenVMS Alpha/I64

2012-12-20 Thread Chet Ramey
On 12/16/12 10:51 AM, John E. Malmberg wrote: For those that want to look at the source, you can examine or check out the OpenVMS specific changes in the http://gnv.cvs.sourceforge.net/gnv/ cvs tree from the gnu_vms/bash tree with the cvs tag gnv-bash-V0402-39e0. At this time that is the

xargs combined with awk

2012-12-20 Thread giuseppe . amatulli
Hi, have this a for loop which is sending the dir variable one for each processor. for dir in UA_tile_tif_pop_txt UA_buf10_tile_tif_pop_txt UA_buf20_tile_tif_pop_txt UA_buf30_tile_tif_pop_txt UA_buf40_tile_tif_pop_txt UA_buf50_tile_tif_pop_txt ; do echo $dir ; done | xargs -n 1 -P 6 bash -c '

Re: xargs combined with awk

2012-12-20 Thread Steven W. Orr
On 12/20/2012 10:43 AM, giuseppe.amatu...@gmail.com wrote: Hi, have this a for loop which is sending the dir variable one for each processor. for dir in UA_tile_tif_pop_txt UA_buf10_tile_tif_pop_txt UA_buf20_tile_tif_pop_txt UA_buf30_tile_tif_pop_txt UA_buf40_tile_tif_pop_txt

Re: xargs combined with awk

2012-12-20 Thread Greg Wooledge
On Thu, Dec 20, 2012 at 07:43:50AM -0800, giuseppe.amatu...@gmail.com wrote: for dir in UA_tile_tif_pop_txt UA_buf10_tile_tif_pop_txt UA_buf20_tile_tif_pop_txt UA_buf30_tile_tif_pop_txt UA_buf40_tile_tif_pop_txt UA_buf50_tile_tif_pop_txt ; do echo $dir ; done | xargs -n 1 -P 6 bash -c '

Re: xargs combined with awk

2012-12-20 Thread Andreas Schwab
giuseppe.amatu...@gmail.com writes: I try to escape with the \ the ' and the } but no good results. $ echo 'a single quote '\'' in the middle of other single quoted text' a single quote ' in the middle of other single quoted text Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: Bash 4.2.39 now available for OpenVMS Alpha/I64

2012-12-20 Thread John E. Malmberg
On 12/20/2012 9:36 AM, Chet Ramey wrote: On 12/16/12 10:51 AM, John E. Malmberg wrote: For those that want to look at the source, you can examine or check out the OpenVMS specific changes in the http://gnv.cvs.sourceforge.net/gnv/ cvs tree from the gnu_vms/bash tree with the cvs tag

local_array_declare_-g suggested workaround

2012-12-20 Thread Vicente Couce Díaz
Bash 4.2.36(1)-release (i486-pc-linux-gnu), Debian wheezy (bash 4.2-4) Given this example: f() { local -a v local -a w g echo f: ${v[@]}, ${w[@]} } g() { aux=v declare -ga $aux=( asdf fdsa ) declare -ga w=( asdf fdsa ) echo f:

expansion of \uXXXX in non utf8 locales

2012-12-20 Thread Stephane Chazelas
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'