From mboxrd@z Thu Jan 1 00:00:00 1970 From: smiley@zenzebra.mv.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: Date: Sun, 24 Apr 2011 14:20:56 +0000 In-Reply-To: (=?utf-8?Q?=22Maur=C3=ADcio?= CA"'s message of "Sun, 24 Apr 2011 05:09:52 +0000 (UTC)") Message-ID: <86wrijennb.fsf@cmarib.ramside> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Different results for the same rc script when using listen1 Topicbox-Message-UUID: d3360d50-ead6-11e9-9d60-3106f5b1d025 Maur=C3=ADcio CA writes: > However, using (where 'listen_test.rc' is the name I gave this > script): > > listen1 'tcp!localhost!8080' ./listen_test.rc > > and > > echo Hi | dial -e 'tcp!localhost!8080' > > what I get is: > > I am insane. > > How can running a script throw 'listen1' can get 'rc' to fail an 'if' > test?!?! This looks like you're using p9p. Have you checked your PATH? It might not be finding an executable, or finding the wrong version of an executable. --=20 +---------------------------------------------------------------+ |E-Mail: smiley@zenzebra.mv.com PGP key ID: BC549F8B| |Fingerprint: 9329 DB4A 30F5 6EDA D2BA 3489 DAB7 555A BC54 9F8B| +---------------------------------------------------------------+