Thread (1 message) 1 message, 1 author, 2016-06-16

Re: [PATCH] test-lib: simplify '--option=value' parsing

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:18:55

Jeff King [off-list ref] writes:
For some reason I had always assumed that complicated pattern matching
with "#" was non-POSIX, but I checked and it is definitely in there.
No, the offending code really dates back to the days back when I was
writing most of the shell scripts (or others were mostly copying
from what I have written).  I had this irrational aversion against
variable substitutions that are beyond ${var-default}, ${var=assign}
and ${var+isset}.

The conversion looks fine (modulo one missed one you noticed).

Thanks for cleaning things up.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help