Hi,
I have an input like this
1 2 3 4
2 3 4 5
4 5 6 7
I would like to count the no. of columns and print a header with a prefix "Col".
I would also like to count the no. of rows and print as first column with each line number with a prefix "Row"
So, my output would be
Col1 Col2 Col3 Col4
Row1 1 2 3 4
Row2 2 3 4 5
Row3 4 5 6 7