From: Paul Hänsch Date: Mon, 25 Jul 2022 12:34:33 +0000 (+0200) Subject: omit empty record lines (again) X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=6588e1f6091cb39c38f5b0def91250b00b7e860d;p=invoices omit empty record lines (again) --- 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"