Re: xargs combined with awk

2012-12-21 Thread giuseppe . amatulli
thanks to all of you. in the end i selected the following solution -c $' awk \'{}\' ' all the best giuseppe On Thursday, 20 December 2012 09:43:50 UTC-6, giuseppe...@gmail.com wrote: > Hi, > > have this a for loop which is sending the "dir" variable one for each > processor.

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 fing

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 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 UA_buf50_tile_