[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdio buffering mode
From: |
Paul Jarc |
Subject: |
Re: stdio buffering mode |
Date: |
Sat, 05 Jun 2004 17:57:42 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
thomas@koeller.dyndns.org wrote:
> I'd like to know whether there is a way to control the buffering
> mode when redirecting input or output of a command.
When the redirection is done for an external command, this is outside
of bash's control.
> It seems that stdio streams are always line buffered by
> default;
It depends on your libc, but I think it typically defaults to line
buffering for terminals and block buffering for regular files.
paul