The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-27-2008
simhasuri simhasuri is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 2
Help on page breaks

Hi,

I am new to Unix (AIX).

I have a header (in a text file) that needs to be wrtitten on all the pages of a result file (text file). After the header is written, data needs to be read from a file A(text file) and inserted to the result file. If the number of lines reaches 80 in a page, page break needs to be given. In the next page, the same header needs to be written and data from the text file A needs to be read and appended to the result file. This should be continued until end of file of file A. Can someone give me pointers in getting this?


Thanks
Surya