I want to do something like the following:
---------------------------------------------------------------------
echo "-----------end----------------"
line_num=`expr $line_num + 1`
awk '{
for( ; n%=xx ; n++ ) <---xx means a number.
printf("\n")
}' n=$page_line <---this need input, else it stop....
line_num=$n <-----I want $line_num = n in awk.
---------------------------------------------------------------------
I need certain length of the outfiles, so if "----end----" end at line number
which is not enough, space lines are added to enough length number.
Thanks.
--
=====================================================================
Simon Tneoh Chee Boon ~{UEV>ND~} i?
Hsin Chu City NATIONAL TSING HUA UNI.
P.O.Box 2-037 Material Science Engineering Dept. Batch '96
R.O.China. http://140.114.63.14:6083/simon.html
886-35-715131-7300
=====================================================================