Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Process substitution bug?



On Tue, Oct 31, 2000 at 17:17:33 +0000, Peter Stephenson wrote:
> It means you've forgotten the extra `>'.  >(hilight 1) produces a filename
> into which you can write, which will serve as output for the process
> `highlight 1'.  You need:
> 
>   rup > >(hilight 1)

OK, is it the same thing as rup >>(hilight 1) ?

(I'm reading mails from 1998, and either things have changed or there
are not very clear.)

The problem is that rup does block-buffering. Neither a pipe nor >(...)
prevents it to do so. Is there a way (at the shell level) so that rup
thinks it's writing to a terminal (thus does line-buffering)?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author