Zu viele Backslashes

This commit is contained in:
qbi 2021-05-28 23:02:45 +02:00
parent 1c4a695cae
commit 074650c9b0

View file

@ -269,12 +269,12 @@ make_invoice() {
month_ascii=$(date '+%B')
# inv_day=$(date '+%j')
inv_date=$(date '+%Y%m%d')
inv_dead=$(date -d "+${dead_days}days" '+%d.\\\\,%m.\\\\,%Y')
inv_dead=$(date -d "+${dead_days}days" '+%d.\\,%m.\\,%Y')
rechnungsnummer="$inv_date--$LFDNR"
subject="Rechnung zu $SHORT"
filename="$(date '+%Y%m%d')_Rechnung_${month_ascii}_$(echo "$KUNDE" | $TR_BIN " " "_").ltx"
buffer="$KUNDE; $ADRESSE"
anschrift="$(echo "$buffer" | sed 's/;/\\\\\\\\\\\\\\ /g')"
anschrift="$(echo "$buffer" | sed 's/;/\\\\\\\\\\ /g')"
print_info "Erstelle Rechnung: $filename"
{