]> git.plutz.net Git - confetti/commitdiff
typo in credit formating function
authorPaul Hänsch <paul@plutz.net>
Thu, 18 Apr 2024 13:12:46 +0000 (15:12 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 18 Apr 2024 13:12:46 +0000 (15:12 +0200)
ledgers/index.cgi

index e9dea1f20d76a2da4c82da357e3c868349b74c99..621ef827661d4f12c447a8de4720ffd8cb7786a2 100755 (executable)
@@ -5,7 +5,7 @@
 
 credit() {
   printf '%03i\n' "$1" \
-  | sed -E 's;[0-9]{2}$;d&; :0 s;([0-9])([0-9]{3}[dm]);\1m\2;; t0; y;dm;,.;'
+  | sed -E 's;[0-9]{2}$;d&;; :0 s;([0-9])([0-9]{3}[dm]);\1m\2;; t0; y;dm;,.;'
 }
 
 { printf '