From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5d2d5dcc9e187b8745b2b269b103dbc5@quanstro.net> From: erik quanstrom Date: Mon, 27 Apr 2009 07:39:19 -0400 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Borderless rio Topicbox-Message-UUID: f32307a0-ead4-11e9-9d60-3106f5b1d025 > labels=$* > if(test $#labels -lt 1) > labels=(1 2 3 4) > > rio.b -I -i'\ > for(label in $labels) > window -miny 40 ''rio -i ''''label ''$label'''''''' > # give time to set all the labels > sleep 0.5 > window -dy 39 ''winwatch -e ''''^(winwatch|stats|faces)''''''' > > My question is: what is the better way to avoid that lot of quotes? I > can think of variables or functions, but I wonder what is the idiom > for nested quotes. you could use here documents, but i don't really think that would be better. it's interesting that duff's shell does fall into the same quoting pit as bourne's, just in more esoteric situations. - erik