From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <522AE229.5070603@gmx.de> Date: Sat, 7 Sep 2013 10:22:01 +0200 From: Friedrich Psiorz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <12773354.WkoI8jKRLR@coil> In-Reply-To: <12773354.WkoI8jKRLR@coil> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] p9p mk(1) syntax Topicbox-Message-UUID: 7b89a25e-ead8-11e9-9d60-3106f5b1d025 I don't think that the behavior is really unexpected ... the `{...} part is interpreted by mk, but not the text between the braces. You probably need to quote it if it contains braces itself. Am 06.09.2013 13:03, schrieb dexen deVries: > in p9p mk, this works as expected: > foo = `{echo bar} > > but the following does not -- rc(1) indicates syntax error: > foo = `{echo `{echo bar}} > > > strace indicates that mk(1) passes input to rc(1) with no closing braces at > all. > > > i'm using MKSHELL = rc. >