awk spliting using separator

Hi

I have a file which looks like this

#HEllo
#How....
#version 1.0.1
#Author aaaaa

ab.-.1.-.90.-.80.-..-.OK
cd.-.8.-.91.-.800.-.xy.-..-.

the separator is .-. (dot hyphen dot)

I want to display this as columns like

ab cd
1 8
90 91
80 800
novalue xy
OK novalue

where a specific field is empty the output should say as "novalue". The commented text in the beginning using # should be ignored.

Thanks

Try:

awk -F".-." '/^[^#]/ {for (i=1;i<=NF;i++) { if($i=="") $i="novalue"; arr=arr" "$i; }} END{ for(i=1;i<=NF;i++) print arr; }'  filename