delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/03/18:31:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <5.2.1.1.0.20030603175855.10b0c4f8@rogue.codemeta.com>
X-Sender: lee AT rogue DOT codemeta DOT com (Unverified)
Date: Tue, 03 Jun 2003 18:30:50 -0400
To: cygwin AT cygwin DOT com
From: "Lee D. Rothstein" <lee AT veritech DOT com>
Subject: 'fortune', 'strfile' & binmode
Mime-Version: 1.0

After significant searching, I
discovered that 'fortune' requires
'strfile' to create the index database
('.dat' file) for each text file of
fortunes.

('strfile' is not listed under "See
also:"  'man fortune' and hence does not
appear in the output of 'apropos
fortune'. The 'man' page needs to be
updated. I will do it myself, if someone
will explain how to submit the change.
This is a change to GNU fortune 'man'
page, not Cygwin anything.)

However, when I execute 'strfile' on a
fortune file -- say, 'fortune', to
produce an index file -- e.g.,
'fortune.dat', it doesn't quite get the
index right.

I've tried (I think) all combinations of:

 * 'strfile', 'strfile -r'
 * UNIX and DOS line endings and
   character sets (LF vs CRLF, ANSI vs
   DOS)
 * Cygwin="nobinmode ..." vs.
   Cygwin="binmode ..."
   
and no luck.

Suggestions?

--
Lee D. Rothstein -- lee AT veritech DOT com
VeriTech -- 603-424-2900
7 Merry Meeting Drive
Merrimack, NH 03054-2934



--
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/

- Raw text -


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