bug-bash
[Top][All Lists]
Advanced

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

Re: mapfile -n seeks ahead an extra line


From: Chet Ramey
Subject: Re: mapfile -n seeks ahead an extra line
Date: Wed, 20 Jun 2012 10:04:24 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120601 Thunderbird/13.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/20/12 3:09 AM, Dan Douglas wrote:

> Bash Version: 4.2
> Patch Level: 29
> Release Status: release
> 
> Description:
>     mapfile -n eats a line too many, discarding the last.

Thanks for the report.  Try the attached patch; it appears to fix the
issue.

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/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/h2GgACgkQu1hp8GTqdKt7gACfa1mSIDbIr403Dm0eSveLwiuv
L1gAn3rIGbLo/V+Eqh6FShzCQ7T2S4dG
=wh/y
-----END PGP SIGNATURE-----

Attachment: mapfile-lines.patch
Description: Source code patch


reply via email to

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