From a28512ad5281bcac3553afec02aea3705b28bd38 Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 4 Aug 2024 16:00:51 +0100 Subject: Typo on printf output --- .local/bin/milieage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/milieage') diff --git a/.local/bin/milieage b/.local/bin/milieage index c6831cd..ed1bea7 100755 --- a/.local/bin/milieage +++ b/.local/bin/milieage @@ -17,6 +17,6 @@ lie="$(echo "$previous" + "$miles" + "$lie_miles" | bc)" printf "\nYou have %s miles in the bank.\nEnter %s as your month end." "$banked" "$lie" datestamp=$(date +"%Y-%m-%dT%H:%M:%S%z") -printf "# %s %s %s %s %s" "$datestamp" "$current" "$previous" "$miles" "$banked">> "$0" +printf "\n# %s %s %s %s %s" "$datestamp" "$current" "$previous" "$miles" "$banked" >>"$0" exit -- cgit v1.2.3