On 11/6/2017 2:46 PM, Will Parsons wrote:
>
> But regardless of solving the original problem, I'd still like to know why
> the original script doesn't work under tcsh only.
>
>From what I read of your original thread, it did work. You asked tr to
substitute ':' for '\n' and it did. Your PATH c
Lemke, Michael ST/HZA-ZIC2 wrote:
> On Mon, 6 Nov 2017 00:15:25 + (UTC)
> Will Parsons wrote:
>
>>Under Unix-type platforms, checking on what the PATH variable is set to is
>>pretty easy - I typically use "env" and the displayed value of PATH is easily
>>parsed by eye. Under Cygwin/Windows, o
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 "$P
On Mon, 6 Nov 2017 00:15:25 + (UTC)
Will Parsons wrote:
>Under Unix-type platforms, checking on what the PATH variable is set to is
>pretty easy - I typically use "env" and the displayed value of PATH is easily
>parsed by eye. Under Cygwin/Windows, one can do the same, but the value of
>PATH
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 rando
5 matches
Mail list logo