I have this (demo) text in the variable ArtTEXT.
1|Reporting Problems and Bugs.
2|Other freely available awk implementations.
5|Summary of installation.
8|How to disable certain gawk extensions.
3|Making Additions To gawk.
7|Accessing the Git repository.
It is a one variable where the lines are delimited with a known string.
I want to split it into an array where the number at the beginning of the line will be the index of the array line using one command, without looping through the lines.
The result should be:
arr[1] => Reporting Problems and Bugs.
arr[2] => Other freely available awk implementations.
arr[5] => Summary of installation.
arr[8] => How to disable certain gawk extensions.
arr[3] => Making Additions To gawk.
arr[7] => Accessing the Git repository.
Is this possible?