Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com From: ejfried@california.sandia.gov (friedman_hill ernest j) Message-Id: <200103281610.IAA28947@california.sandia.gov> Subject: Re: Space in PATH replaced with :?! In-Reply-To: <3AC20668.3A5A485@uab.ericsson.se> from Johan Niklasson at "Mar 28, 2001 05:42:32 pm" To: Johan Niklasson Date: Wed, 28 Mar 2001 08:10:53 -0800 (PST) CC: cygwin@cygwin.com X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 > --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 ejfried@ca.sandia.gov PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple