Nate Eldredge wrote:
 > sh prog1 > tmpfile &
tail -f -c +0 tmpfile | sh prog2

BTW, I don't think this would solve my problem as tail -f would block waiting for more data, as would prog2, so after prog1 finishes writing data they would block indefinitely on input. I forgot to mention this was supposed to be a short-lived pipeline, not daemons, as you had probably thought.

Also, I've already learned how to use misc/buffer correctly so the problem's gone. Thank you for your time.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to