AWK solution to subtract multiple columns of numbers

Hope somebody is happy.

NR==1 {
num_columns=split( $0, menuend );
next;
}

{
split( $0, substrend );
for ( i=1; i<=NF; i++ ) {
minuend [i]-= substrend[i];
}
}

END {
print "Result:";
for ( i=1; i<=num_columns; i++ ) {
printf( "%8d", menuend [i]);
}
printf "\n";
}

And your question is?

haha, this wasn't a question, it was a solution to a question in another thread, I am guess they couldn't find it.

You are right it is a solution to my previous threads, I solved it and posted for someone who has same problem.

Regards,
awkward