zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: Zsh users list <zsh-users@sunsite.auc.dk>
Subject: Re: Process substitution bug?
Date: Tue, 31 Oct 2000 18:41:44 +0100	[thread overview]
Message-ID: <20001031184144.B988@vin.ens-lyon.fr> (raw)
In-Reply-To: <0G3B00HMC1D8DR@la-la.cambridgesiliconradio.com>; from pws@csr.com on Tue, Oct 31, 2000 at 05:17:33PM +0000

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@vinc17.org> - 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


      parent reply	other threads:[~2000-10-31 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-31 16:51 Vincent Lefevre
2000-10-31 17:17 ` Peter Stephenson
2000-10-31 17:32   ` Bart Schaefer
2000-10-31 17:41   ` Vincent Lefevre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001031184144.B988@vin.ens-lyon.fr \
    --to=vincent@vinc17.org \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).