delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/05/21:50:21

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: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 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=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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <799475596.20171106054226@yandex.ru>
To: Will Parsons <wbparsons AT cshore DOT com>, cygwin AT cygwin DOT com
Subject: Re: strange shell output using tcsh under Cygwin
In-Reply-To: <oto9is$k56$1@blaine.gmane.org>
References: <oto9is$k56$1 AT blaine DOT gmane DOT org>
MIME-Version: 1.0
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

- Raw text -


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