Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Brian Inglis
On 2017-12-04 06:22, David Macek wrote: > On 4. 12. 2017 14:01, Erik Haukjær Andersen wrote: >> Hello >> >> >> I have seen a similar problem on Windows 7, using Cygwin bash version >> 4.4.12(3)-release (x86_64-unknown-cygwin). >> >> After repeating a simplified test on my own host and 6 other >> co

Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Andrey Repin
Greetings, Erik Haukjær Andersen! > (I saw you wrote something about TrustedInstaller). TrustedInstalller is a Windows component. %SystemRoot%\servicing\TrustedInstaller.exe -- With best regards, Andrey Repin Monday, December 4, 2017 23:08:53 Sorry for my terrible english...

Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread David Macek
On 4. 12. 2017 14:01, Erik Haukjær Andersen wrote: Hello I have seen a similar problem on Windows 7, using Cygwin bash version 4.4.12(3)-release (x86_64-unknown-cygwin). After repeating a simplified test on my own host and 6 other colleagues, my conclusion is that the cause is found in BeyondT

Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Erik Haukjær Andersen
Hello I have seen a similar problem on Windows 7, using Cygwin bash version 4.4.12(3)-release (x86_64-unknown-cygwin). After repeating a simplified test on my own host and 6 other colleagues, my conclusion is that the cause is found in BeyondTrust SecureDesktop, which you also may have installed

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-28 Thread Jürgen Wagner
Hello, I apologize for not responding earlier - but a project kept me overly busy, so extra cycles to reply here were not available. The winner is: Richard Beels. Yes, you are right. Comodo was the source of my problems. What's funny is that when I migrated to Win10, I ran into this before and

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Wouter van Doorn
I bet Comodo is the golden tip. They have introduced whitelisting without telling anyone, and I have had very strange behaviour (strange until that whitelist explained it) too. Including that subshell thing. They call it 'auto-containment'. Just disable that, and done. Wouter On 12 July 2017 at 00

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Richard Beels via cygwin
At 07/11/2017 at 15:12, Shakespearean monkeys danced on Jürgen Wagner's keyboard and said: ... Using backquotes instead of the command substitution with $(...) does not change the results. I could swear this did work in an earlier version of Cygwin on my Windows 7 machine. I tried this to s

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Steven Penny
On Tue, 11 Jul 2017 21:12:14, =?UTF-8?Q?J=c3=bcrgen_Wagner?= wrote: 2. Windows 10, Version 1703, Build 15063.413 on a Dell 64bit platform, latest 64bit Cygwin (CYGWIN_NT-10.0, 2.8.1(0.312/5/3) 2017-07-03 14:11 x86_64 Cygwin) /bin/bash $ value=3D"$( date | cat )"; echo "$? <$value>" 127 <> For

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
And here another little detail: I installed Babun on the Windows 10 machine. juergen@saraswati ~ $ value="$( date | cat )"; echo $? $value 0 Tue, Jul 11, 2017 10:24:02 PM juergen@saraswati ~ $ echo $BASH_VERSION 4.3.33(1)-release juergen@saraswati ~ $ It works. The BASH_VERSION on the other Cy

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
Sorry, little omission: the first example under section 3 is not with bash, it was done with dash. smime.p7s Description: S/MIME Cryptographic Signature

Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
Hello, this is my first posting here as I do not see any other hope of getting this resolved. Research in mailing lists and other Cygwin users' questions on various sites have not proven to be useful. 1. Ubuntu 4.4.0-71-generic x86_64, /bin/bash $ value="$( date | cat )"; echo "$? <$value>" 0