'fortune', 'strfile' & binmode
Lee D. Rothstein
lee@veritech.com
Tue Jun 3 22:31:00 GMT 2003
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@veritech.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/
More information about the Cygwin
mailing list