,*) out="${out}\\,"; in="${in#,}" ;;
\;*) out="${out}\\;"; in="${in#;}" ;;
"$BR"*) out="${out}\\n"; in="${in#${BR}}" ;;
- *) out="${out}${in%%[\\,;${BR}]*}"; in="${in#${in%%[\\,;${BR}]*}}" ;;
+ *) out="${out}${in%%[\\,;${BR}]*}"; in="${in#"${in%%[\\,;${BR}]*}"}" ;;
esac; done
done
printf '%s\n' "$out"
\\\\*) out="${out}\\"; in="${in#\\\\}" ;;
\\n*) out="${out}${BR}"; in="${in#\\n}" ;;
\\*) in="${in#\\}" ;;
- *) out="${out}${in%%\\*}"; in="${in#${in%%\\*}}" ;;
+ *) out="${out}${in%%\\*}"; in="${in#"${in%%\\*}"}" ;;
esac; done
printf '%s\n' "$out"
}