jdinardo at ix.netcom.com
Thu Dec 7 14:08:31 PST 2000
My original message seemed really unclear when I read it ( after I had sent it
) so I will try again.
0>&1 tells bash to duplicate stdout's file descriptor and use it for stdins's
Now stty ocrnl will cause output newlines (0x0a) to be converted to
0x0d0a (cr lf). It does this by updateing the termios structure for your
stdout with the ocrnl flag.
I do not know what the reason is for ensuring that only the stdout termios
structure is updated.
On Thu, Dec 07, 2000 at 04:35:01PM -0500, jerry wrote:
> stty onlcr 0>&1 tells bash to give stty a duplicate of stdout's file
> descriptor as stdin's file descriptor. Now anything that stty tries to do
> to stdin's termios structure will really happen to stdout's termios structure.
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev