Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!dsacg1!dpscg1!zcf1025
From: zcf1025@dpscg1.UUCP (Regina Dawley)
Newsgroups: dla.wizards,dpsc.general,dsac.ais,comp.unix.wizards
Subject: Re: awk
Summary: i need to include the script
Keywords: Reading a input file?
Message-ID: <502@dpscg1.UUCP>
Date: 27 Sep 89 15:12:10 GMT
References: <501@dpscg1.UUCP>
Organization: Defense Personnel Suport Center, Philadelphia
Lines: 9

matchlines = 0
while ( getline < "temp.data" > 0) {
input[matchlines] = $0
system("head -5 < tale.data > tale.hdr")
print $0 >> tale.hdr
system("tail -29 < tale.data >> tale.hdr")
system("sprint tale.hdr")
matchlines++
}