From: Brian Dessent <brian@dessent.net>
To: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk@cygwin.com>
Subject: Re: My pipe flushes late
Date: Wed, 20 Aug 2008 12:16:00 -0000 [thread overview]
Message-ID: <48AC0AF6.A0AEBE10@dessent.net> (raw)
In-Reply-To: <g8h0l5$dv8$1@ger.gmane.org>
Robert Schmidt wrote:
> How can I accomplish this?
Drop a hippo on it?
Seriously though, this is totally the wrong list to ask a serious
question.
Can't you just:
sed -e 's/\x0D//' -e 's/^/prefix: /'
The fact that there's only the one process eliminates the line buffering
in the pipe. Well, presumably there is still a pipe in that you are
piping some unspecified output into this, but presumably also that
output flushes its buffer after each line so that's fine.
Brian
next prev parent reply other threads:[~2008-08-20 12:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 11:55 Robert Schmidt
2008-08-20 12:07 ` Eric Blake
2008-08-20 13:20 ` Robert Schmidt
2008-08-20 12:16 ` Brian Dessent [this message]
2008-08-20 12:40 ` Brian Dessent
2008-08-20 13:15 ` Robert Schmidt
2008-08-20 13:31 ` Brian Dessent
2008-08-20 16:12 ` Christopher Faylor
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=48AC0AF6.A0AEBE10@dessent.net \
--to=brian@dessent.net \
--cc=cygwin-talk@cygwin.com \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).