trailing commas

This commit is contained in:
Emma Tebibyte 2022-11-07 00:47:31 -05:00
parent 025afa39f3
commit dea905406a
1 changed files with 1 additions and 1 deletions

2
tomcat
View File

@ -28,7 +28,7 @@ VAL=$(if test -e "$argv2"; then
sed 's/^ //g')
if test -n "$ARR"; then
printf "%s\n" "$VAL" | sed 's/,"/\n"/g' | tr -d '"' | head -n "$ARR" |\
printf "%s\n" "$VAL" | sed 's/",/"\n/g' | tr -d '"' | head -n "$ARR" |\
tail -n 1
else
printf "%s\n" "$VAL" | tr -d '"'