From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <59ce42e3751664630438d1c58da096b7@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Tue, 1 Jul 2008 19:12:07 -0400 In-Reply-To: <20080701230856.C400F1E8C1C@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] rc bug Topicbox-Message-UUID: d548679e-ead3-11e9-9d60-3106f5b1d025 > I submitted a patch. > > diff ./io.c /n/sources/plan9/sys/src/cmd/rc/io.c > 94c94 > < for(t = s;*t;t++) if(*t >= 0 && needsrcquote(*t)) break; > --- >> for(t = s;*t;t++) if(!wordchr(*t)) break; > diff ./plan9.c /n/sources/plan9/sys/src/cmd/rc/plan9.c > 278c278 > < pfmt(fd, "fn %q %s\n", v->name, v->fn[v->pc-1].s); > --- >> pfmt(fd, "fn %s %s\n", v->name, v->fn[v->pc-1].s); i don't think that fixes it. try this test on plan 9 fn 'test?' {echo} lc /env - erik