> -Original Message-
> From: Frank Newland [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 09, 2001 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Perl equivalent to awk's 'getline'
>
>
> Readers:
> awk has a function called 'getline
On Thu, Aug 09, 2001 at 11:35:13AM -0500, Frank Newland wrote:
> Readers:
> awk has a function called 'getline' which reads the next line of input
> without changing control of the script.
Perl is unlike sed and awk in this respect; program control is not
determined by reading sequential lines
At 11:35 AM 8/9/01 -0500, Frank Newland wrote:
>Readers:
>awk has a function called 'getline' which reads the next line of input
>without changing control of the script.
>
>My input file contains pairs of records. When I find a record that matches
>my search pattern, I want that record and the ne
Readers:
awk has a function called 'getline' which reads the next line of input
without changing control of the script.
My input file contains pairs of records. When I find a record that matches
my search pattern, I want that record and the next record.
In awk, I used the 'getline' which did ju