From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8fe24ccb11b1ef3c35ad708c71db7de7@gmx.de> References: <3caa188579ff2a78ca7f01d49ae68690@kw.quanstro.net> <8fe24ccb11b1ef3c35ad708c71db7de7@gmx.de> Date: Sat, 7 Sep 2013 18:18:13 +0200 Message-ID: From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] p9p mk(1) syntax Topicbox-Message-UUID: 7c4225d6-ead8-11e9-9d60-3106f5b1d025 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, wrote: > why not this? > > + if(term == '}' && c == '{') > + depth++; > > -- > cinap >