Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] [RFC] Get subject of current patch in rebase-apply mode



Hi,

I'd use a named local parameter instead of REPLY and clear out IFS
completely:

Daniel Hahler wrote:
> +            local maxlines=10
> +            while IFS='\n' read -r;  do

               local maxlines=10 line
               while IFS= read -r line;  do

…and then use $line instead of $REPLY in the rest.


Regards, Frank



Messages sorted by: Reverse Date, Date, Thread, Author