Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: printing certain lines from a file

  1. #11
    Join Date
    Sep 2010
    Beans
    62

    Re: printing certain lines from a file

    Code:
    # ruby -ne 'puts $_ if $.>=30 && $.<=35' file

  2. #12
    Join Date
    Sep 2010
    Beans
    62

    Re: printing certain lines from a file

    Code:
    ruby -ne 'puts $_ if $.>=30 && $.<=35' file

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •