9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] simple rc problem in p9p (on OpenBSD)
@ 2018-04-26 14:45 Rudolf Sykora
  2018-04-26 14:54 ` Lucio De Re
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Rudolf Sykora @ 2018-04-26 14:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello

I, using OpenBSD's p9p, see this

% w='A
    B
    C'
% echo $w
A
B
C
% for(i in $w) {echo $i; echo XXX}
A
B
C
XXX

ie, w in for is taken as just one argument instead of
3. What can I do with it?

I haven't modified ifs (it should be \n space and tab).
(How can I check, say see the character codes?)

Thanks for comments
Ruda



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

end of thread, other threads:[~2018-05-22 19:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 14:45 [9fans] simple rc problem in p9p (on OpenBSD) Rudolf Sykora
2018-04-26 14:54 ` Lucio De Re
2018-04-26 15:08   ` Rudolf Sykora
2018-04-26 15:29     ` Alexander Kapshuk
2018-04-26 15:48       ` Benjamin Purcell
2018-04-26 18:36         ` Rudolf Sykora
2018-04-26 19:01           ` Costin Chirvasuta
2018-04-26 20:50             ` Rudolf Sykora
2018-05-22 19:57             ` Ethan A. Gardener
2018-04-26 14:57 ` Alexander Kapshuk
2018-04-26 15:02 ` Teodoro Santoni
2018-04-26 15:10   ` Rudolf Sykora
2018-04-26 15:20 ` dexen deVries
2018-04-26 15:31   ` Rudolf Sykora

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