From: Friedrich Psiorz <f.psiorz@gmx.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] p9p mk(1) syntax
Date: Sat, 7 Sep 2013 10:22:01 +0200 [thread overview]
Message-ID: <522AE229.5070603@gmx.de> (raw)
In-Reply-To: <12773354.WkoI8jKRLR@coil>
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.
>
next prev parent reply other threads:[~2013-09-07 8:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-06 11:03 dexen deVries
2013-09-07 8:22 ` Friedrich Psiorz [this message]
2013-09-07 13:52 ` erik quanstrom
2013-09-07 15:05 ` cinap_lenrek
2013-09-07 16:18 ` dexen deVries
2013-09-07 16:21 ` erik quanstrom
2013-09-09 4:30 ` arisawa
2013-09-09 12:37 ` erik quanstrom
2013-09-06 14:37 dexen deVries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=522AE229.5070603@gmx.de \
--to=f.psiorz@gmx.de \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).