# flatw...@users.sourceforge.net / 2015-05-19 22:28:51 +0300:
> On Mon, 18 May 2015 10:42:54 -0400
> Michael Powell <mwpowell...@gmail.com> wrote:
> > I have set the global editor to Notepad++ via a shell script:
> > 
> > #!/bin/sh
> > "C:/Program Files (x86)/Notepad++/notepad++.exe" -multiInst -notabbar
> > -nosession -noPlugin "$(cygpath -w "$*")"
> Does this really work?  (I mean, did you verify the second line of
> your script by running it in Git Bash?)
> I'm asking because in a Unix shell (and in cmd.exe too, FWIW) double
> quotes do not nest so I'm having hard time trying to understand
> what's this line supposed to do.

 SUSv4TC1, XCU 2.2.3 Double-Quotes

 The input characters within the quoted string that are also enclosed
 between "$(" and the matching ')' shall not be affected by the
 double-quotes, but rather shall define that command whose output
 replaces the "$(...)" when the word is expanded. The tokenizing rules
 in Token Recognition, not including the alias substitutions in Alias
 Substitution, shall be applied recursively to find the matching ')'.


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to