Zu viele Backslashes
This commit is contained in:
parent
1c4a695cae
commit
074650c9b0
|
@ -269,12 +269,12 @@ make_invoice() {
|
||||||
month_ascii=$(date '+%B')
|
month_ascii=$(date '+%B')
|
||||||
# inv_day=$(date '+%j')
|
# inv_day=$(date '+%j')
|
||||||
inv_date=$(date '+%Y%m%d')
|
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"
|
rechnungsnummer="$inv_date--$LFDNR"
|
||||||
subject="Rechnung zu $SHORT"
|
subject="Rechnung zu $SHORT"
|
||||||
filename="$(date '+%Y%m%d')_Rechnung_${month_ascii}_$(echo "$KUNDE" | $TR_BIN " " "_").ltx"
|
filename="$(date '+%Y%m%d')_Rechnung_${month_ascii}_$(echo "$KUNDE" | $TR_BIN " " "_").ltx"
|
||||||
buffer="$KUNDE; $ADRESSE"
|
buffer="$KUNDE; $ADRESSE"
|
||||||
anschrift="$(echo "$buffer" | sed 's/;/\\\\\\\\\\\\\\ /g')"
|
anschrift="$(echo "$buffer" | sed 's/;/\\\\\\\\\\ /g')"
|
||||||
|
|
||||||
print_info "Erstelle Rechnung: $filename"
|
print_info "Erstelle Rechnung: $filename"
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue