shell back quote expansion problem

Earnie Boyd earnie_boyd@yahoo.com
Sun Jun 25 18:11:00 GMT 2000


--- "Tarr, Stephen F" <stephen.f.tarr@opbu.xerox.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@yahoo.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@sourceware.cygnus.com



More information about the Cygwin mailing list