Someone could help to convert this script on awk only?
While maintain the same clearity as now with this hybrid combination of bash+awk?
Note:
I decide to split it for maintain the discussion more clear, with an initial problem and with a final end.
So now i ask only one question each time.
Thanks for the attempt but i prefer an awk script only. Don't a awk script that is launched from a bash script.
Probably Icon will be few useful but i need Categories because, once is clear, with your help how is possible convert the initial script (in particular how convert the function param_val (after try few days without success ... :wall:) and Categories ... later, i will make an attempt of using associative array for build a menu with submenu.
But until i don't known how resolve the initial issue, i'm stopped.