delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/29/22:03:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AC2E46B.6335E5FD@uab.ericsson.se>
Date: Thu, 29 Mar 2001 09:29:47 +0200
From: Johan Niklasson <Johan DOT Niklasson AT uab DOT ericsson DOT se>
Organization: Ericsson Utvecklings AB
X-Mailer: Mozilla 4.61 [en]C-CCK-MCD (WinNT; I)
X-Accept-Language: sv,en-US
MIME-Version: 1.0
To: friedman_hill ernest j <ejfried AT california DOT sandia DOT gov>
CC: cygwin AT cygwin DOT com
Subject: Re: Space in PATH replaced with :?!
References: <200103281610 DOT IAA28947 AT california DOT sandia DOT gov>

Hi!

Thanx for the tip. For a while I had hope. Unfortunately when I use the
command in a .csh-file
cygpath, like tr and sed, also replaces space with a :.
I write like this:
set path = `cygpath -p -u "${PATH}"`
and out comes the distorted PATH as described before. I really think
this is a problem with my settings.
However if noone knows the solution at least cygpath helps me find the
correct short names for my path

Best regards
Johan

friedman_hill ernest j wrote:
> 
> Use the "cygpath" path translation utility that comes with
> cygwin. It's quite smart and can properly translate paths in both
> directions, including nasty stuff like drive letters, UNC names, etc.
> 
> I think Johan Niklasson wrote:
> > Hi!
> >
> > On NT4 sp 4, cygwin 1.1.8
> > I have a problem with my path getting distorted by tr and sed.
> > I do not want to change my path to the old DOS-form~2
> >
> > I wonder if there is some setting I have wrong, or do I simply have to
> > live with this problem, as suggested by the FAQ?
> >
> > My path shall look like this:
> >
> > /bin:cygwin/usr/include:.:/usr/bin:/usr/lib:/Winnt/System32/:/Program
> > Files/ESOE/Microsoft Visual Studio/Common/MSDev98/Bin:/Program
> > Files/ESOE/Microsoft Visual Studio/VC60/bin.....
> >
> > But after issuing this command in a tcsh
> > set path = `echo $PATH | tr : '\n' | grep -v "LM_"`
> >
> > it looks like:
> >
> > /bin:cygwin/usr/include:.:/usr/bin:/usr/lib:/Winnt/System32/:/Program:Files/ESOE/Microsoft:Visual:Studio/Common/MSDev98/Bin:/Program:Files/ESOE/Microsoft:Visual:Studio/VC60/bin.....
> >
> > which gives me problems to use VS compiler.
> >
> > Some of the setting I have is:
> > CYGWIN=tty ntea ntsec
> > TERM=ansi
> > TERMCAP=C:\etc\termcap
> >
> > If anyone has a solution this problem I'd be most grateful.
> >
> > Best regards
> > Johan Niklasson
> > --
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >
>

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019