-
EOF
for toy in $1
do
printf '\t\t\t\t
- \n' status=$(echo "$toy" | cut -d ';' -f1) name=$(echo "$toy" | cut -d ';' -f2) if [ "$status" = '0' ] then printf '\t\t\t\t\tOK\n' elif [ "$status" = 'n' ] then printf '\t\t\t\t\tN_\n' elif [ "$status" = 'r' ] then printf '\t\t\t\t\tR_\n' else printf '\t\t\t\t\tER\n' fi printf '\t\t\t\t\t%s\n' "$name" "$name" printf '\t\t\t\t \n' done cat <