Interesting pipe feature.

Corinna Vinschen vinschen@redhat.com
Tue Apr 2 14:08:00 GMT 2002


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.



More information about the Cygwin-developers mailing list