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

Re: [PATCH] Avoid bug in Solaris xpg4/sed as used in submodule

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:32

Ben Walton [off-list ref] writes:
I guess widely wasn't a good choice...My search wasn't narrow enough
earlier.  Was I correct in my original thinking that the range
notation isn't to be used then?
So far we have tried to stay within a narrow subset of BRE (see
Documentation/CodingGuidelines) in fear of upsetting exotic and/or ancient
systems. I do not mind reviewing and revising the guidelines every couple
of years, but for this particular case, I do not think [^/][^/]* is too
bad.  FWIW, it bothers me a lot more that expression does not anchor
matches against path elements with explicit '/' than the issue your patch
addresses, i.e.

	sed -e 's|[^/][^/]*/|../|g'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help