bug-bash
[Top][All Lists]
Advanced

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

Re: using mapfile is extreamly slow compared to oldfashinod ways to read


From: Greg Wooledge
Subject: Re: using mapfile is extreamly slow compared to oldfashinod ways to read files
Date: Fri, 27 Mar 2009 08:18:16 -0400
User-agent: Mutt/1.4.2.2i

On Thu, Mar 26, 2009 at 05:59:14PM -0400, Chris F.A. Johnson wrote:
>    Chet, how about an option to mapfile that strips leading and/or
>    trailing spaces?
> 
>    Another useful option would be to remove newlines.

It already has the latter:

      -t                Remove a trailing newline from each line read.




reply via email to

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