thanks to you both. http://github.com/dexen/plan9port-custom/commit/6a67d4d8c97bc682737ae1cf59544fb4c969a105.patch
cinap's version also supports rc block statements; tested with: MKSHELL = rc foo = `{ echo aaa; { date; }; pwd; } bar = `{ echo zzz `{ date } zzz } test:VQ: echo foo $foo echo bar $bar On Sat, Sep 7, 2013 at 5:05 PM, <cinap_len...@gmx.de> wrote: > why not this? > > + if(term == '}' && c == '{') > + depth++; > > -- > cinap >