hi Laurent
ok , let me further clarify
want i want to produce as my output is display <pattern*> top of file and <#errors to cellpattern> bottom of file. right now whenever a file has #errors, it will parse and display together with pattern* .this is because i can't print them out of the main code.
desired output
pattern1
pattern2
pattern3
#errors
.
..
cellpattern
current output i get
pattern1
#errors
.
..
cellpattern
pattern2
#errors
.
..
cellpattern
pattern3
#errors
.
..
cellpattern
|