head1 head2 head3
data1 1 data 1 2 data 1 3
data 2 1 data 2 2 data 2 3
data 3 1 data 3 2 data 3 3
etc etc
I would like to print this file, using the lp –d command,
with a heading line, as follows :-
Report for whatever department as at {today’s date}
Then a space line
Then all of data.txt.
I can store in a text file the first part of the heading line, up to the date.
I can then use
Expand|Select|Wrap|Line Numbers
- date > temp1
- cut –d “ “ –f 1-4 < temp1 > temp2
But how do I then construct the required file for printing ?
Many thanks