Reading text files

Discussion in 'Ruby' started by John M., Nov 12, 2010.

  1. John M.

    John M. Guest

    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/.
     
    John M., Nov 12, 2010
    #1
    1. Advertising

  2. John M.

    Scott Gonyea Guest

    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/.
    >
     
    Scott Gonyea, Nov 12, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darrel
    Replies:
    3
    Views:
    676
    Kevin Spencer
    Nov 11, 2004
  2. rob hadow

    JAR files reading list files

    rob hadow, May 21, 2004, in forum: Java
    Replies:
    4
    Views:
    4,781
    rob hadow
    May 21, 2004
  3. crazyprakash
    Replies:
    4
    Views:
    3,376
    adrian
    Oct 30, 2005
  4. Replies:
    4
    Views:
    956
    M.E.Farmer
    Feb 13, 2005
  5. Replies:
    0
    Views:
    786
Loading...

Share This Page