This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: strange shell output using tcsh under Cygwin
- From: Will Parsons <wbp@nodomain.invalid>
- To: cygwin at cygwin dot com
- Date: Mon, 6 Nov 2017 19:14:35 +0000 (UTC)
- Subject: Re: strange shell output using tcsh under Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <oto9is$k56$1@blaine.gmane.org> <799475596.20171106054226@yandex.ru>
- Reply-to: wbparsons at cshore dot com
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