delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/16/11:16:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=O1Q
WSS2yGCJXUybeDaKNK/IC7lc3+RNej5IQpk/6siwA//RjU/WWyUxp+qsFQK1R0Bc
/gPIZZ6ihzJ4rPo6kkEeSUqUd9hs+cqyaS6mtY0nRLyAjpIMfZ9/G2cFGHdJ3C0x
smMwa0q6NLV2XPq+25x4FLItxccyUlXiitIIWNGQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=+d9IdVohS
Grtce/y2Qs40q5dm7E=; b=qqJu8qmEhKLMLQNVUq+UQr4eOfY/MIsk3oanJcfZ/
tZbfuWeKlnj5Z0L57PQ4PhvLzkdeavkNgkBuIugFVOFr+ITXe8rLNwlqtcojt2bm
Swgyk0rkwoMQ8AscxTH0sJiiMhqhH0b0zqIUrqTvhDC0frlxqhXJObS23V5k/vPl
PY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mailuogwdur.emc.com
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com tAGGGMAj019232
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com tAGGGMAj019232
From: "Gluszczak, Glenn" <glenn DOT gluszczak AT emc DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Command echo
Date: Mon, 16 Nov 2015 16:16:01 +0000
Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B01BE4B@MX204CL04.corp.emc.com>
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com
X-RSA-Classifications: public
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tAGGGcHV018435

When I shell to cmd.exe, the commands I execute are echoed (not sure if stdout or stderr).
This doesn't happen under native cmd.exe.  Is there a variable that controls this?  
I only have CYGWIN=nodosfilewarning

Notice the commands "dir" and "whoami" are emitted to the output.  


$ bash --version
GNU bash, version 4.3.42(4)-release (i686-pc-cygwin)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ cmd
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\cygwin\home\mytest>whoami
whoami
mytest


C:\cygwin\home\mytest>dir
dir
Volume in drive C has no label.
Volume Serial Number is 0EA8-F3D1

Directory of C:\cygwin\home\mytest

11/11/2015  09:31 AM    <DIR>          .
11/11/2015  09:31 AM    <DIR>          ..
11/05/2015  05:55 AM             6,054 .bashrc
11/11/2015  09:45 AM             2,401 .bash_history
11/05/2015  05:55 AM             1,494 .bash_profile






--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019