Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Reading text files

Reply
Thread Tools

Reading text files

 
 
John M.
Guest
Posts: n/a
 
      11-12-2010
I can't read the text file below with Ruby. The two date lines are
treated as though they don't exist.

Any ideas?

John

Morris Funeral Home at 304 Merrimon Ave if you don't mind the short walk
to Brooks Howell)
MONDAY, JULY 19, 2010 3:35 PM, EDT
George's family has asked me to let everyone know the arrangements that
have been made for his memorial services.
MONDAY, JULY 19, 2010 12:46 PM, EDT
Judy asked about a memorial service for George. I will post details here
when they are finalized.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Scott Gonyea
Guest
Posts: n/a
 
      11-12-2010
Post your ruby code.

On Nov 12, 2010, at 12:53 PM, John M. wrote:

> I can't read the text file below with Ruby. The two date lines are
> treated as though they don't exist.
>
> Any ideas?
>
> John
>
> Morris Funeral Home at 304 Merrimon Ave if you don't mind the short walk
> to Brooks Howell)
> MONDAY, JULY 19, 2010 3:35 PM, EDT
> George's family has asked me to let everyone know the arrangements that
> have been made for his memorial services.
> MONDAY, JULY 19, 2010 12:46 PM, EDT
> Judy asked about a memorial service for George. I will post details here
> when they are finalized.
>
> --
> Posted via http://www.ruby-forum.com/.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) blabla120@gmx.net ASP .Net 0 09-15-2006 02:08 PM
how i can extract text from the PDF files,power point files,Ms word files? crazyprakash Java 4 10-30-2005 10:17 AM
Reading large text files =?Utf-8?B?SHV0dHk=?= ASP .Net 1 09-27-2005 06:33 PM
Text files read multiple files into single file, and then recreate the multiple files googlinggoogler@hotmail.com Python 4 02-13-2005 05:44 PM
reading the DB vs. reading a text file...performance preference? Darrel ASP .Net 3 11-11-2004 02:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57