pipefile - attach filter to file in name space
to attach a pair of pipes to
using them to
between the true file and the simulated file that subsequently
appears in the name space.
interposes a filter that will affect the data delivered to programs that read from
interposes a filter that will affect the data written by programs to
At least one
must be specified;
will insert a
process in the other direction.
has been run, the filters are established for programs that subsequently
programs already using the
twice, once for each direction. If the
is a single-use device, use the
flag to specify that the file is to be opened once, in
To record the history of shell commands:
pipefile -r 'tee -a '$home/sh.history /dev/cons
sh -i </dev/cons >/dev/cons >[2=1]
The I/O model of
is peculiar; it doesn't work well on plain files.
It is really intended for use with continuous devices such as
If the program using the file managed by
exits, the filter will see EOF and exit, and the file will be unusable
until the name space is repaired.
||Rev: Fri Jun 15 21:22:04 GMT 2007|