This is the mail archive of the
mailing list for the Cygwin project.
RE: New sed in latest
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: RE: New sed in latest
- From: Heribert Dahms <heribert_dahms at icon-gmbh dot de>
- Date: Fri, 2 Jun 2000 22:51:55 +0200
what about something like CYGWIN=force_binary for those who need it?
If you change od, I'd like that and/or --binary, since I routinely use
od -c to check for \r.
Do you have another suggestion how to find out (from e.g. bash) actual
present in input/output files or pipes for not (yet) text/binary smart
Bye, Heribert (firstname.lastname@example.org)
> -----Original Message-----
> From: Chris Faylor [SMTP:email@example.com]
> Sent: Friday, June 02, 2000 20:24
> To: firstname.lastname@example.org
> Subject: Re: New sed in latest
> On Fri, Jun 02, 2000 at 08:11:41PM +0200, Pierre.Humblet@eurecom.fr
> >On Thu, 1 Jun 2000 17:48:39 -0400, Chris Faylor <email@example.com>
> >>You have my guarantee that when the cygwin mailing list is filled
> >>the plaintive cries of people who are trying to process their binary
> >The current plaintive voices are about a textmode processing bug in
> >dll. Masking that bug by making applications like sed ignore \r even
> >on binary mounted systems is only a reasonable TEMPORARY (band aid)
> >measure. Until now users mounting binary file systems had the
> >assurance that the tools would behave as on Unix. That was great, I
> >hope it will come back. Otherwise do you plan to keep on "fixing"
> >applications? awk (for one) is also "broken" by \r\n :
> >bash-2.04$ awk 'NF > 1' /u/hello.txt bash-2.04$ mount -b -f u:/ /u
> >bash-2.04$ awk 'NF > 1' /u/hello.txt hello bash-2.04$
> >(hello.txt contains "hello \r\n")
> Yes. I plan on fixing more applications. In fact, awk is next on my
> This change was only partially motivated by the recent broken DLL. We
> have always had many many many complaints about "sed not working".
> 1.1.1 DLL just aggravates the potential problems with binmode versus
> textmode processing. The problem won't go away when the DLL is fixed.
> You may have noticed that we've recently made similar modifications to
> ash and bash. I also expect that we will be making modifications to
> applications like 'od' which do not set binmode appropriately.
> Of course, the wonderful thing about all of this is that this is free
> software. You don't have to use it. Anyone can build their own
> of sed which, theoretically, is able to process a binary file. It's
> that hard at all.
> Want to unsubscribe from this list?
> Send a message to firstname.lastname@example.org
Want to unsubscribe from this list?
Send a message to email@example.com