MaD dUCK on Sun, 19 Nov 2000 19:55:26 -0500 (EST) |
i need to create a dynamic file in that a read of the file through something like 'cat' will actually execute a script and pretend that the script's output to stdout is the actual file data. i tried using a FIFO, but there is no easy and reliable way to have the pipe filled with the output of exactly one program invocation, no more and no less. so if i have a file i.e. /tmp/date linked in this way to /bin/date, i want the output from the date program when doing a 'cat /tmp/date'. any ideas? martin `echo madduck@!#:1:s@\@@@.net` (greetings from the heart of the sun.) -- "it would be truly surprising if sound were not capable of suggesting colour, if colours could not give the idea of the melody, if sound and colour were not adequate to express ideas." -- claude debussy ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|