delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/06/14:15:07

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:to:from:subject:date:message-id:references
:reply-to; q=dns; s=default; b=MiDpnKc9pVvBp4pOji68dYpsq6dQVvGq8
uAJhUJ/mK88vKrel9Ksz3JOTPL4lPCv9wSQXNMFvCRNYebDr31cDFNPhcPTkBE2Q
Tbh9LFMaZLAMUBrEzAoxU0w9YUHmee+lNbhfSBoZECk4LbmPpSbvt3amucG9Zs2p
1r2N3JEs/Y=
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:to:from:subject:date:message-id:references
:reply-to; s=default; bh=UXEnwj6QU5ruZjGFylrlmCHV/pA=; b=H6DexH2
wd7FTIQAKZGEWafN0cykzJhnBO6MH4Ao858n8Xz6X8Ay1MuvP4joPvtzXTEFLgZf
hgTrbkMfCKUV1Z7dusLtORHLOcyHE/YqNJ4POmrfXXPrwMBMQ2AgNkvvRWMMJQ/J
0DThiM/CqBaxUj0VG2oZLyZCrQxUSgLQYyGw=
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.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Greetings, Parsons, parsons, tcsh
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Will Parsons <wbp AT nodomain DOT invalid>
Subject: Re: strange shell output using tcsh under Cygwin
Date: Mon, 6 Nov 2017 19:14:35 +0000 (UTC)
Lines: 23
Message-ID: <otqcar$5rq$1@blaine.gmane.org>
References: <oto9is$k56$1 AT blaine DOT gmane DOT org> <799475596 DOT 20171106054226 AT yandex DOT ru>
Reply-To: wbparsons AT cshore DOT com
User-Agent: slrn/1.0.3 (CYGWIN_NT-6.1)
X-IsSubscribed: yes

Andrey Repin wrote:
> 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.

Nice thought, and indeed I had thought of it.  It makes no difference,
though.

-- 
Will


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