9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] p9p mk(1) syntax
@ 2013-09-06 14:37 dexen deVries
  0 siblings, 0 replies; 9+ messages in thread
From: dexen deVries @ 2013-09-06 14:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.

-- 
dexen deVries

[[[↓][→]]]




^ permalink raw reply	[flat|nested] 9+ messages in thread
* [9fans] p9p mk(1) syntax
@ 2013-09-06 11:03 dexen deVries
  2013-09-07  8:22 ` Friedrich Psiorz
  0 siblings, 1 reply; 9+ messages in thread
From: dexen deVries @ 2013-09-06 11:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.

-- 
dexen deVries

[[[↓][→]]]

Take care of the luxuries and the necessities will take care of themselves.
                -- L. Long




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-09 12:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 14:37 [9fans] p9p mk(1) syntax dexen deVries
  -- strict thread matches above, loose matches on Subject: below --
2013-09-06 11:03 dexen deVries
2013-09-07  8:22 ` Friedrich Psiorz
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

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).