read input from beginning at eof?
- From: sws_chen@xxxxxxxxxxx
- Date: Tue, 16 Jun 2009 08:36:38 -0700 (PDT)
Hello,
I am new at awk (and programming in general) and would greatly
appreciate your help. I am writing a code that needs to read through
an input file 49 times. Is there a way so that once the program reads
to the eof of the input, it will start reading again from the
beginning of the file? Or maybe once it reaches the eof it could set
could set current line to a previous line 'x' lines above?
I eagerly await an answer, thank you.
Steven
.
- Follow-Ups:
- Re: read input from beginning at eof?
- From: Ed Morton
- Re: read input from beginning at eof?
- From: Ted Davis
- Re: read input from beginning at eof?
- From: pk
- Re: read input from beginning at eof?
- Prev by Date: Re: GAWK fatal error if input file is a directory
- Next by Date: Re: read input from beginning at eof?
- Previous by thread: OFMT
- Next by thread: Re: read input from beginning at eof?
- Index(es):
Relevant Pages
|