projects
/
invoices
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a6c9b
)
omit empty record lines (again)
author
Paul Hänsch
<paul@plutz.net>
Mon, 25 Jul 2022 12:34:33 +0000
(14:34 +0200)
committer
Paul Hänsch
<paul@plutz.net>
Mon, 25 Jul 2022 12:34:33 +0000
(14:34 +0200)
invoices.sh
patch
|
blob
|
history
diff --git
a/invoices.sh
b/invoices.sh
index b99d8f2431b4a9b6e0b465acd3992b4a34f24794..9ed6dfa56388fb2822d3c4129b2212e9c2ae12ac 100755
(executable)
--- 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"