I have the file like this...
I need the result as below
a|b|c|d|e|1|f|g|h a|b|c|d|e|2|f|g|h a|b|c|d|e|3|f|g|h a|b|c|d|e|4|f|g|h a|b|c|d|e|5|f|g|h
Basically I am trying to transpose 5 columns, with the rest of the columns repeated for each of those 5 attributes... (here values 1,2,3,4,5... in single row is being transposed into into 5 separate rows... in all those 5 rows, a,b,c,d,e,f,g,h are duplicated.
Please help using AWK/SED/CUT anything.