Here's the problem: I need to separate a file into "pages" of 10 lines each. The page must contain 8 lines of the input file, the last two must be like this:
========================
x/xx (current page/total number of pages)
so a "page" should look like this:
dsfg
sdfg
sdfg
dfg
dfg
dfg
dfg
df
=====================
1/xx
So far I failed. Any help much apreciated.
========================
x/xx (current page/total number of pages)
so a "page" should look like this:
dsfg
sdfg
sdfg
dfg
dfg
dfg
dfg
df
=====================
1/xx
So far I failed. Any help much apreciated.