delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/04/02/17:08:33

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Tue, 2 Apr 2002 19:13:00 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: Re: Interesting pipe feature.
Message-ID: <20020402191300.A24025@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygdev <cygwin-developers AT cygwin DOT com>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020402111635 DOT 02674130 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20020402114010 DOT 024c9c90 AT pop DOT ma DOT ultranet DOT com> <3CA9E355 DOT D5691839 AT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <3CA9E355.D5691839@yahoo.com>
User-Agent: Mutt/1.3.22.1i

On Tue, Apr 02, 2002 at 11:59:01AM -0500, Earnie Boyd wrote:
> "Larry Hall (RFK Partners, Inc)" wrote:
> > 
> > OK, sorry.  You're right.  Interestingly enough, I don't have trouble
> > running `echo $COMSPEC` directly on W2K, although your command sequence
> > above also works.  Do you have the same problem with `echo $COMSPEC` on
> > XP?
> > 
> 
> Yes, that's what I said.  Hmm... Nothing like consistancy.

`echo $COMSPEC | sed -e 's#\\\\#/#g#'`
                           ^^^^

works great on XPprof

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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