conn-tools
Software
www.skarnet.org
The
seekablepipe-io
program
seekablepipe-io
turns the reading end of a pipe into a seekable file descriptor, using a temporary file.
Interface
writer
| seekablepipe-io
tmpfile reader [ args ... ]
seekablepipe-io
writes
writer
's output to
tmpfile
(which is unlinked as soon as it is created). Then it execs into
reader
, reading from a file descriptor on
tmpfile
.