Re: "cygpath -u" inside backticks differs

2014-06-05 Thread Csaba Raduly
On Wed, Jun 4, 2014 at 5:48 PM, Eric Blake wrote: > On 06/04/2014 08:31 AM, J. David Boyd wrote: >> Wow, when did this happen? I've been using `` for years, and never heard of >> $(). What version did this change? > > $() has existed in all sh variant shells except Solaris /bin/sh pretty > much

Re: "cygpath -u" inside backticks differs

2014-06-04 Thread Eric Blake
On 06/04/2014 08:31 AM, J. David Boyd wrote: > Eric Blake writes: > >> >> see why `` is obsolete, and you should be using $()? Among other >> reasons, \ inside `` has weird rules. >> > > Wow, when did this happen? I've been using `` for years, and never heard of > $(). What version did this c

Re: "cygpath -u" inside backticks differs

2014-06-04 Thread J. David Boyd
Eric Blake writes: > > see why `` is obsolete, and you should be using $()? Among other > reasons, \ inside `` has weird rules. > Wow, when did this happen? I've been using `` for years, and never heard of $(). What version did this change? I think I need to go back and re-read some document

Re: "cygpath -u" inside backticks differs

2014-06-04 Thread Ivan Dobrianov
Eric - thanks for the info! I see the problem, yes, and it is simple - I have completely "slepth through" the $() business :-) I am all set now - thanks! Ivan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cy

Re: "cygpath -u" inside backticks differs

2014-06-03 Thread Eric Blake
On 06/03/2014 07:28 PM, Ivan Dobrianov wrote: > It may be something very simple, but I just cannot figure what it is, nor can > I > find anything on the forums. echo 'a\b\\c\\\de' echo `echo 'a\b\\c\\\de'` echo $(echo 'a\b\\c\\\de') see why `` is obsolete, and you should be using $()