X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=mMjSOKomefGot7eJ
	V+chhVpT0tFP988Xe23thdnzF0uW5kHp9J0XKIU3oMtX/Y2JxGfutV73Ho2bBt9c
	jA8Pr5XgYitRav+XHDR8muiATqXm7gEf7FwdmLcz5kw+JWeI6x+sbwFwF0UQttsS
	tx4COGT1dZHJqtNK8vehrCVA2Kg=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=+DDQ02Dn8WkSegdgeFGVwq
	46e4g=; b=gJKEE1vUXvD2pArMIgPOAOwuPzVReLq9SkH2hICiZBMjUFaDebxQq8
	V5dzR66msyMwjNG+XgtVgLzn1NHp0MTbZS8zbyyMMpZ4/wfGtcD/ciTn8QF5717G
	UFi86kb8DV/rQy7Y/+mhm235jjEePfe5VY2AmV2AufzG9Bnpqf/e8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, terrible, Hx-languages-length:499, H*r:Client
X-HELO: forward103p.mail.yandex.net
Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 6 Nov 2017 05:42:26 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <799475596.20171106054226@yandex.ru>
To: Will Parsons <wbparsons@cshore.com>, cygwin@cygwin.com
Subject: Re: strange shell output using tcsh under Cygwin
In-Reply-To: <oto9is$k56$1@blaine.gmane.org>
References: <oto9is$k56$1@blaine.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Will Parsons!

> I thought it would be nice to write a simple script to make this more
> comprehensible by breaking the path into separate lines, and so wrote the
> following trivial script:

>    #!/bin/sh
>    echo $PATH | tr ':' '\n'

Try

  echo "$PATH"

next time.

Never trust random variables to be acceptable for command parameters.


-- 
With best regards,
Andrey Repin
Monday, November 6, 2017 05:41:26

Sorry for my terrible english...


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

