[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash scripting and large files: input with the read builtin from a r
From: |
Chet Ramey |
Subject: |
Re: Bash scripting and large files: input with the read builtin from a redirection gives unexpected result with files larger than 2GB. |
Date: |
Sun, 04 Mar 2012 16:38:25 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
On 3/4/12 4:32 PM, Chet Ramey wrote:
> That's true, and I made this change some months ago. The question is
> whether or not it makes a real difference, since the only use of that
> variable is to check whether the return value from lseek is -1. I
> suppose under the right set of circumstances it could.
Sorry, I forgot to attach the patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
zread.patch
Description: Text Data
Re: Bash scripting and large files: input with the read builtin from a redirection gives unexpected result with files larger than 2GB., Chet Ramey, 2012/03/04