Re: strange shell output using tcsh under Cygwin

2017-11-07 Thread cyg Simple
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

Re: strange shell output using tcsh under Cygwin

2017-11-06 Thread Will Parsons
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

Re: strange shell output using tcsh under Cygwin

2017-11-06 Thread Will Parsons
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

Re: strange shell output using tcsh under Cygwin

2017-11-06 Thread Lemke, Michael ST/HZA-ZIC2
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

Re: strange shell output using tcsh under Cygwin

2017-11-05 Thread Andrey Repin
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