/netlib/pipefs
README
Obsolete
Use simply
srv -e 'command arg ...' service
Example.
execute:
srv -e /usr/arisawa/pipetap pipetap
where /usr/arisawa/pipetap is:
-------------- /usr/arisawa/pipetap ------------------
#!/bin/rc
fn dopost {
a=`{read}
switch($a(1)){
case something
do_something
case otherthing
do_otherthing
case *
;
}
}
while()
dopost
-------------------------------------------------
then you will find
/srv/pipetap
and
echo 'something' >> /srv/pipetap
will execute "do_something"
Note that ">>" is used here, not ">".
Contents
532 README
313 mkfile
15338 pipefs.c
812 readme.txt