Hi,
Here is some thing that tripped me up.
First from a shell script, execute an echo and direct it to a file in
/env (essentially setting that variable). However the command does
not seem to have any effect
cpu% @{rfork e; echo hi} > /env/hi cpu% cat /env/hi
And it is specific to the filesystem interface of env
cpu% @{rfork e; echo hi} > /tmp/hi cpu% cat /tmp/hi hi
And this is somehow connected to rfork
cpu% {echo hi} > /env/hi cpu% cat /env/hi hi
On the otherhand, putting any command in the chain makes the behavior
disappear.
cpu% @{rfork e; echo hi} |cat > /env/hi cpu% cat /env/hi hi
My question is, is this intensional? It feels as if there is a
leakage here of the rfork when its effect is felt beyond the braces,
and it feels odd for the two fs interfaces to behave differently (even
though one of them is special)
vrtra