Challenge: a VERY strange problem with command substitution in bash
Jürgen Wagner
juergen@wagner.is
Tue Jul 11 20:40:00 GMT 2017
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 Cygwin installation is 4.4.12(3)-release.
The command substitution with a pipe doesn't work there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3986 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170711/6d52175d/attachment.p7s>
More information about the Cygwin
mailing list