that reminds me of a similar little thing:

if you want to pipe into or from a remote command, you can do
something like:

% echo hello |[3=1] cpu -c 'wc < /mnt/term/fd/3 > /mnt/term/fd/1' | tr '0-9' X
      X       X       X
% 

(note that you can't use /mnt/term/fd/0 for stdin because that's
exportfs's input - the network connection itself)

[aside: actually, i'm not sure why cpu needs to open /mnt/term/dev/cons; if it
always did something like the above, then cpu would be even more
seamless than it is

as it is, if you don't have a local /dev/cons (e.g.  running when from
a cron job) you have to manufacture one.
]

Reply via email to