9fans archive / 2008 / 10 / 428 / prev next
From: "Fernan Bolando" <fernanbolando@mai...>
Subject: Re: [9fans] Odd awk system() behavior on 9vx
Date: Wed, 29 Oct 2008 22:05:53 +0800
I think that is related to an old thread. Andrey suggested to rebuild
ape. That was how I was able to fix it.
On 10/29/08, a@9sr... <a@9sr...> wrote:
> The following snippet works properly on native Plan 9 (and unix).
> On 9vx, however:
>
> :; awk '{system("echo "$0" | cat")}' words
> sh: cat: cannot execute - Access denied
> sh: cat: cannot execute - Access denied
>
> Errors repeat until I kill the thing (or, presumably, words is out of
> lines, but I won't wait that long). Putting anything else in cat's place,
> like sum, gives the same results. Of course, cat (or whatever) works
> fine on its own.
>
> Any idea what's going on?
>
>
>
--
http://www.fernski.com