delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/26/16:32:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <CF29360CADE8D31196E200508B8B88B63581C8@UsaWvMS01.opbu.xerox.com>
From: "Tarr, Stephen F" <stephen DOT f DOT tarr AT opbu DOT xerox DOT com>
To: "'earnie_boyd AT yahoo DOT com'" <earnie_boyd AT yahoo DOT com>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: shell back quote expansion problem
Date: Mon, 26 Jun 2000 12:51:17 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

Thanks, that seems to be the best approach for now.  If I get *really*
motivated, I'll
try to find where the shell is setting up the pipe from the back quoted
command and
make sure that it's reading that pipe in text mode.

-ST

> -----Original Message-----
> From:	Earnie Boyd [SMTP:earnie_boyd AT yahoo DOT com]
> Sent:	Sunday, June 25, 2000 6:11 PM
> To:	Tarr, Stephen F; 'cygwin AT sourceware DOT cygnus DOT com'
> Subject:	Re: shell back quote expansion problem
> 
> --- "Tarr, Stephen F" <stephen DOT f DOT tarr AT opbu DOT xerox DOT com> wrote:
> > I first found this problem with B20, and it still exists in the latest
> (June
> > 23) binaries
> > from sourceware.cygnus.com.  It affects both bash and tcsh, and probably
> > other
> > shells as well.  It appears when running on both 95 and NT 4.
> > 
> > If I use back-quote expansion on a command from the cygwin package,
> > everything
> > works fine.  If I use back-quote expansion on a native Win32
> command-line
> > program
> > (that prints CR-LF at the end of each line of stdout), the shell
> expansion
> > fails. 
> -8<-
> > 
> > Is there some simple workaround or environment setting that I'm missing,
> or
> > is this a real bug?
> > 
> 
> Ummm... I would say it's a Win32 feature.  However, have you tried `SET
> CYGWIN=nobinmode notty'.  This should set all non-disk operations to text
> mode
> processing which will strip the \r for you.
> 
> HTH,
> 
> =====
> ---
>    Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
>            __Minimalist GNU for Windows__
>   Mingw32 List: <http://www.egroups.com/group/mingw32/>
>     Mingw Home: <http://www.mingw.org/>
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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