From: "SZEDER Gábor" <szeder@ira.uka.de>
To: Sebastian Schuberth <sschuberth@gmail.com>
Cc: "SZEDER Gábor" <szeder@ira.uka.de>,
"David Aguilar" <davvid@gmail.com>,
"Phil Susi" <phillsusi@gmail.com>,
"Junio C Hamano" <gitster@pobox.com>,
"Philip Oakley" <philipoakley@iee.org>,
"Johannes Schindelin" <johannes.schindelin@gmx.de>,
"Git Mailing List" <git@vger.kernel.org>
Subject: Re: [PATCH v2] mergetools: add winmerge as a builtin tool
Date: Thu, 14 May 2015 23:24:13 +0200 [thread overview]
Message-ID: <1431638653-9356-1-git-send-email-szeder@ira.uka.de> (raw)
In-Reply-To: <CAHGBnuPDSdCyVNM+Gagang1Cf9yw0Tyios45i6pnZSSzaJJC2Q@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 869 bytes --]
> On Wed, May 13, 2015 at 5:22 PM, Johannes Schindelin <johannes.schindelin <at> gmx.de> wrote:
>
> > In my tests, "$PROGRAMFILES(X86)" did *not* work:
> >
> > $ echo "$PROGRAMFILES(X86)"
> > bash: syntax error near unexpected token `('
>
> Interesting. In both MSYS1/2 Git Bashes I get on Windows 7 64-bit:
>
> $ echo "$PROGRAMFILES(X86)"
> C:\Program Files (x86)(X86)
>
> So it seems to resolve only the $PROGRAMFILES part and appending the
> literal "(X86)". Not sure how to tell Bash that "(X86)" is part of the
> variable name.
It would be ${PROGRAMFILES(X86)}, but POSIX says that variable names can
only contain alphanumeric characters and underscores, and Bash adheres
when it complains about it in Johannes' example above. Not sure whether
there is a clever escaping that could make it work, I couldn't find any.
Gábor
next prev parent reply other threads:[~2015-05-14 21:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 2:00 [PATCH v2] mergetools: add winmerge as a builtin tool David Aguilar
2015-05-13 8:10 ` Johannes Schindelin
2015-05-13 13:19 ` Sebastian Schuberth
2015-05-13 15:22 ` Johannes Schindelin
2015-05-13 15:33 ` Sebastian Schuberth
2015-05-13 20:00 ` Sebastian Schuberth
2015-05-13 20:36 ` Sebastian Schuberth
2015-05-13 20:37 ` Sebastian Schuberth
2015-05-14 21:48 ` SZEDER Gábor
2015-05-15 5:46 ` Sebastian Schuberth
2015-05-15 9:01 ` SZEDER Gábor
2015-05-14 21:24 ` SZEDER Gábor [this message]
2015-05-15 5:40 ` Sebastian Schuberth
2015-05-20 4:10 ` David Aguilar
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=1431638653-9356-1-git-send-email-szeder@ira.uka.de \
--to=szeder@ira.uka.de \
--cc=davvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johannes.schindelin@gmx.de \
--cc=philipoakley@iee.org \
--cc=phillsusi@gmail.com \
--cc=sschuberth@gmail.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).