From: Andreas Schwab <schwab@linux-m68k.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Ben Walton <bwalton@artsci.utoronto.ca>, git <git@vger.kernel.org>
Subject: Re: [PATCH] Avoid bug in Solaris xpg4/sed as used in submodule
Date: Tue, 10 Apr 2012 10:31:08 +0200 [thread overview]
Message-ID: <m262d8j8dv.fsf@igel.home> (raw)
In-Reply-To: <7vobr0s8ej.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Mon, 09 Apr 2012 18:05:56 -0700")
Junio C Hamano <gitster@pobox.com> writes:
> 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'
Note that this requires readding a trailing slash to the path, which
complicates the whole thing a bit. The effect of * has always been to
use the longest match.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-04-10 8:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-09 1:36 [PATCH] Avoid bug in Solaris xpg4/sed as used in submodule Ben Walton
2012-04-09 6:40 ` Andreas Schwab
2012-04-09 13:30 ` Ben Walton
2012-04-09 15:09 ` Andreas Schwab
2012-04-09 18:44 ` Junio C Hamano
2012-04-09 18:47 ` Ben Walton
2012-04-09 20:08 ` Ben Walton
2012-04-09 21:07 ` Andreas Schwab
2012-04-09 21:48 ` Junio C Hamano
2012-04-10 0:13 ` Ben Walton
2012-04-10 0:31 ` Junio C Hamano
2012-04-10 0:40 ` Ben Walton
2012-04-10 1:05 ` Junio C Hamano
2012-04-10 8:31 ` Andreas Schwab [this message]
2012-04-10 16:10 ` Junio C Hamano
2012-04-13 0:46 ` Ben Walton
2012-04-13 0:48 ` Ben Walton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m262d8j8dv.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=bwalton@artsci.utoronto.ca \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).