From: Ethan M. <merritt@u.washington.edu> - 2004-02-18 17:23:25
|
On Wednesday 18 February 2004 01:52 am, Petr Mikulik wrote: > > Well, ad to the above problem with fifo in Octave -- why the following > in bash does not work? > > bash$ mkfifo cau > bash$ tail -f cau > > and in another xterm: > gnuplot> set print "cau" > gnuplot> print "hello" I think that "tail -f" does not behave as expected for pipes. Maybe it tries to use fstat() to see if the file has been extended? Anyhow the same sequence works for me if I use "cat" rather than "tail -f". -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center (206)543-1421 Mailstop 357742 University of Washington, Seattle, WA 98195 |