Get the current line and next 5 lines
From: Larry Doan (doan_larry_at_hotmail.com)
Date: 10/21/03
- Next message: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Previous message: Vladimir Los: "Re: SMALLTALK or PERL ?"
- Next in thread: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Reply: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Reply: Gunnar Hjalmarsson: "Re: Get the current line and next 5 lines"
- Reply: Bill Marcum: "Re: Get the current line and next 5 lines"
- Reply: nobull_at_mail.com: "Re: Get the current line and next 5 lines"
- Reply: William Park: "Re: Get the current line and next 5 lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Oct 2003 03:26:37 -0700
In a shell script or Perl, how do I open a file, find what I'm looking then
Case 1: grab that line + the next 2 lines
Case 2: grab that line + the previous 2 lines?
TIA,
Larry
- Next message: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Previous message: Vladimir Los: "Re: SMALLTALK or PERL ?"
- Next in thread: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Reply: Andrew Shitov: "Re: Get the current line and next 5 lines"
- Reply: Gunnar Hjalmarsson: "Re: Get the current line and next 5 lines"
- Reply: Bill Marcum: "Re: Get the current line and next 5 lines"
- Reply: nobull_at_mail.com: "Re: Get the current line and next 5 lines"
- Reply: William Park: "Re: Get the current line and next 5 lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]