Web lists-archives.com

Re: strange shell output using tcsh under Cygwin




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