I have a two-dimension (4x20) dataset and want to assign it to an array and then print one column with several rows, each row containing 10 elements. How should I do this? I tried but have no clue because I just started to learn AWK. Please help! Thank you!
Please post
[ul]
[li]The code you wrote so far.[/li]
[li]Sample input.[/li]
[li]Desired output.[/li]
[/ul]
Also specify which Awk implementation's which version you use.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.