how to modify the secind line of file

Discussion in 'Ruby' started by vahag vardanyan, Mar 10, 2011.

  1. HI))
    I have a cycle, in wich I have to modify the second line of file in
    every iteration of cycle)

    Is there that kind of stuff in ruby??))

    how can I change the offset in file?? for example in C it is lseek())

    --
    Posted via http://www.ruby-forum.com/.
     
    vahag vardanyan, Mar 10, 2011
    #1
    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. Hugo
    Replies:
    10
    Views:
    1,343
    Matt Humphrey
    Oct 18, 2004
  2. Veeven
    Replies:
    2
    Views:
    531
    Guest
    Jan 12, 2004
  3. kaushikshome
    Replies:
    4
    Views:
    795
    kaushikshome
    Sep 10, 2006
  4. Ramesh
    Replies:
    5
    Views:
    790
    Ramesh
    Oct 17, 2008
  5. scad
    Replies:
    23
    Views:
    1,193
    Alf P. Steinbach
    May 17, 2009
Loading...

Share This Page