Split code output

This commit is contained in:
g0tmi1k 2022-11-11 00:36:41 +00:00
parent 033af0c325
commit 3ae6e956a2

View file

@ -891,7 +891,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then
title=$( grep -m 1 "${path}" "${files}" | cut -d ',' -f 3 | sed 's/"//g' ) title=$( grep -m 1 "${path}" "${files}" | cut -d ',' -f 3 | sed 's/"//g' )
## Get codes ## Get codes
codes=$( grep -m 1 "${path}" "${files}" | cut -d ',' -f 12 | sed 's/"//g' ) codes=$( grep -m 1 "${path}" "${files}" | cut -d ',' -f 12 | sed 's/"//g; s/;/, /g' )
if [ -z "${codes}" ]; then if [ -z "${codes}" ]; then
codes="N/A" codes="N/A"
fi fi