Today I had the terrible idea of a circular bash pipe. Turns out, you can do this easily with fifos. Here's a simple yes-like program done with a circular pipe, to demonstrate:
echo "y" | cat - fifo | tee fifo
You may now return to your regularly scheduled sanity.
Thursday, June 18, 2009
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment