Hi Every one,
what is the coomand to remove header or footer from a file.
Please help me by providing command/syntax to remove header/footer from unix.
Thanks in advance for all your support.
on 06/04/2012 – Made popular on 06/04/2012
By default, pr prints a five-line header with the date, file name and page number and an empty five-line footer / trailer. While reading about how the data in the header can be manipulated I was wondering if anything can be done with the footer. Is the footer necessarily empty, or is it possible to for instance swap the header and footer?
I need to add a header and a footer to flat file - I just need to get values from the parameter like system date and report run date in the top line and for the footer I need to get the record count and prepend 00000 to it as shown below: