From 6588e1f6091cb39c38f5b0def91250b00b7e860d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 25 Jul 2022 14:34:33 +0200 Subject: [PATCH] omit empty record lines (again) --- invoices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoices.sh b/invoices.sh index b99d8f2..9ed6dfa 100755 --- a/invoices.sh +++ b/invoices.sh @@ -276,7 +276,7 @@ update_invoice(){ printf 'time=%s work=%s hours=%s\n' \ "$(POST time $n |STRING)" "$(POST work $n |STRING)" \ "$(POST hours $n |STRING)" \ - | grep -xvF 'time= work= hours=0' + | grep -xvF 'time=\ work=\ hours=0' done } >"invoices/$id" -- 2.39.2