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