| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <41D897B8.E802CA0B@dessent.net> |
| Date: | Sun, 02 Jan 2005 16:54:16 -0800 |
| From: | Brian Dessent <brian AT dessent DOT net> |
| Organization: | My own little world... |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: "od" wrong line endings and byte count |
| References: | <md5:5FC86913D0A32217499034D891768D2B> |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
"Gary R. Van Sickle" wrote: > > > I think that this is a regression of "od", though. It > > probably should > > > use binmode by default. > > > > I would tend to agree, but how would you change this default > > if desired? > > > > ? By one of the two ways God intended when he gave Moses POSIX: > > 1. O_BINARY > 2. "rb" (3. link with binmode.o) 'od' should probably be using #1 or #2 already though, if not that's easy enough to fix I'd think. The poster also had a qustion about the 'expand' utility writing NL-terminated files, when the mount was textmode. That sounded like a bug to me also, but I don't really know how the rules for text mounts are supposed to work on writes, or how 'expand' calls open(). Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |