Thread (1 message) 1 message, 1 author, 2021-11-08

Re: [PATCH 2/3] vimdiff: add tool documentation

From: Junio C Hamano <hidden>
Date: 2021-11-08 19:09:00

David Aguilar [off-list ref] writes:
    (diff_mode && ... || merge_cmd_help ...) |
    while IFS= read -r line
    do
       ...
    done

How come we have to unset IFS here?
We are taking the input into a single variable "line", so what are
we splitting with IFS anyway?

In any case, thanks for spotting bash-isms to avoid.  We started
allowing "local", I think, at least in the tests, but otherwise many
bash-only things like "<(process)" redirection and "${substring:4}"
substitution are simply no-no.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help