9fans archive / 2008 / 10 / 427 /    prev next

From: a@9sr...
Subject: [9fans] Odd awk system() behavior on 9vx
Date: Wed, 29 Oct 2008 09:30:48 -0400

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?