delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/04/03/06:49:24

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
Message-ID: <3CAAEBF5.5C6530FC@yahoo.com>
Date: Wed, 03 Apr 2002 06:48:05 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <Cygwin-Developers AT cygwin DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT cygwin DOT com
Subject: Re: Interesting pipe feature.
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> <20020402191300 DOT A24025 AT cygbert DOT vinschen DOT de>

Duh!!! :)

I thought I tried that.  Actually, the sed script is 's#\\\\#/#g' or a
"char 9: Unknown option to 's'" is displayed.

Earnie.

Corinna Vinschen wrote:
> 
> 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.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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