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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: strange shell output using tcsh under Cygwin Date: Mon, 6 Nov 2017 19:14:35 +0000 (UTC) Lines: 23 Message-ID: References: <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