So what use exactly is a named pipe when created using mknod?
I ask because I am trying to write something such that I can read (as
opposed to execute) a file, and the script I wrote will be executed and
its output will be read from the file.
As an example, say my script is 'run'. I am wondering if I could use
mknod to create a named pipe, 'pipe', such that when I ran something like:
cat pipe
'run' would be executed, and the result would be that I would cat the
output of 'run' to the terminal.
It doesn't seem like this is possible, but I don't know much about mknod
and its uses. Does anyone know of a way that I might do this (that is,
run a script just by reading a file)? Also, is there a good resource for
info on mknod, since its man page is about two lines long?
-----------
He was just little! What's the point of putting him here and taking
him so soon? It's either mean or it's arbitrary, and either way I've
got the heebie-jeebies.
-- Calvin