The code example is for an graphical bash selection menu.
Like I said, its way above my skills and I dont really understand the code, but now that I started to copy it, I want to make it work.
In the lines I marked with >>> on the left, each red"|" is a symbol I cant recognize, because it is printed so small
REFRESH(){ after=$((i+1)); before=$((i-1))
if [[ $before -lt 0 ]];then before=$LM;fi
if [[ $after -gt $LM ]];then after=0;fi
if [[ $j -lt $i ]];then UNMARK;M$before;else UNMARK;M$after;fi
>>> if [[ $after -eq 0 ]]
|| [ $before -ew $LM ];then
UNMARK; M$before; M$after;fi;j=$i;UNMARK;M$before;M$after;}
INIT(){ R;HEAD;FOOT;MENU;}
SC(){ REFRESH;MARK;$S;$b;cur='ARROW' ;}
ES(){ MARK;$e "ENTER = main menu ";$b;read;INIT;};INIT
>>> while [[ "$0"
|= " " ]];do case $i in
0) S=M0;SC;if [[ $cur == "" ]];then R;$e "\n$(w )\n";ES;fi;;
1) S=M1;SC;if [[ $cur == "" ]];then R;$e "\n$(ifconfig )\n";ES;fi;;
2) S=M1;SC;if [[ $cur == "" ]];then R;$e "\n$(df -h )\n";ES;fi;;
3) S=M1;SC;if [[ $cur == "" ]];then R;$e "\n$(route -n )\n";ES;fi;;
4) S=M1;SC;if [[ $cur == "" ]];then R;$e "\n$(date )\n";ES;fi;;
5) S=M1;SC;if [[ $cur == "" ]];then R;$e "\n$($e by oto )\n";ES;fi;;
6) S=M1;SC;if [[ $cur == "" ]];then R;exit 0;fi;;
esac;POS;done