bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no trailing newline causes read to fail


From: Paul Jarc
Subject: Re: no trailing newline causes read to fail
Date: Mon, 04 Oct 2004 10:53:57 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Stephane Chazelas <Stephane_Chazelas@yahoo.fr> wrote:
> The example he gave actually didn't involve a sub-process. He must
> have ommited the important thing, he probably used
>
> paste /tmp/f | while read line; do ...; done

Something like that was included in the message, after the part you
(correctly) replied to.

>   It's true that most shells set the variable when the input line
>   is not terminated. But with some versions of ksh, it is
>   truncated:

Interesting, thanks.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]