Interesting pipe feature.

Earnie Boyd earnie_boyd@yahoo.com
Wed Apr 3 03:49:00 GMT 2002


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@cygwin.com
> Red Hat, Inc.

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




More information about the Cygwin-developers mailing list