This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interesting pipe feature.


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]