From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74824 invoked by alias); 4 Dec 2017 13:01:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 74805 invoked by uid 89); 4 Dec 2017 13:01:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,LIKELY_SPAM_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=VERY, colleagues, challenge, conclusion X-HELO: mail-it0-f52.google.com Received: from mail-it0-f52.google.com (HELO mail-it0-f52.google.com) (209.85.214.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Dec 2017 13:01:04 +0000 Received: by mail-it0-f52.google.com with SMTP id t1so12465387ite.5 for ; Mon, 04 Dec 2017 05:01:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=3ZNC4P6IvZ2GoKnj58XKbTg54Ia/JJjy35ArScSQ3aY=; b=ASudPmkQtodsau87qk7EFYjhbc8Gs9FQGiy8wmklMUZjkbWhCJ0b9jpmE2BZ3wacIW 0AbVDAseVqw3LvxOhtEBXpfowrhTkvEy5CRwJZ/HRutkNUSy+JpOXM9//qKP5YMBoZ0o aFPCdCDLam5Ug3tnUvn376zoopwRAiNSRdnycEik21lDZNUc/j9wI26z0u2awOFjhKjv LQuqEQOrEY35eGUg39vfOYcpk+IETCbqLckS5Aoj7yBWRTgfY7aKU5hgxCMMjVfV99xy cSyFhABQm7touF8cksmGaEjz0WK3lr4stZSWqdKe0dq2MbZ8pXewsyUMMVUIWs2FtzW7 obTA== X-Gm-Message-State: AJaThX4wtqYQs3CAAhQ7mSDVt5y95Npdt+qZMyZglhVzJFMVVgLKKXkb h4uy+M9whhJLD6XIzxrFs6oinDHpgyDfWWkHF83VeQ== X-Google-Smtp-Source: AGs4zMZB0c/bHf2RgBViPBwNWZKqJeeij87D385oo2MOQW58FxWVVfuDd+h0ZUZjSM9Y5FRyWuzi+yiV7siea5rXJHY= X-Received: by 10.107.185.197 with SMTP id j188mr24914887iof.221.1512392460810; Mon, 04 Dec 2017 05:01:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.95.146 with HTTP; Mon, 4 Dec 2017 05:01:00 -0800 (PST) From: =?UTF-8?Q?Erik_Haukj=C3=A6r_Andersen?= Date: Mon, 04 Dec 2017 13:01:00 -0000 Message-ID: Subject: Re: Challenge: a VERY strange problem with command substitution in bash To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2017-12/txt/msg00024.txt.bz2 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 (I saw you wrote something about TrustedInstaller). I have raised an internal case with my IT service desk to resolve the issue (and see what they can do). The observations are as follows, in bash, standing in a subdir with 3 files a,b and c: (The results shown are on a host with SecureDesktop, but the only difference is at the last command) $ ls a b c $ echo $(ls) a b c $ echo $(ls|sort) a b c $ echo "$(ls)" a b c $ echo "$(ls|sort)" $ The problem is seen in the last line, where no output is produced, and the expected output is just like the previous command (the one without the =E2=80=98sort=E2=80=99). 3 colleagues also with SecureDesktop sees the same as I do, and 3 other colleagues without SecureDesktop sees the expected result (the last command produces output). Best regards Erik Haukj=C3=A6r Andersen Sr Pncpl Software Developer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple