From f4dde5dfed6f9fbdff53f4baae9f38b63863dcc3 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 25 Apr 2021 21:31:04 -0400 Subject: [PATCH] innocent SBC fun --- java_console/bin/stopwatch.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 java_console/bin/stopwatch.sh diff --git a/java_console/bin/stopwatch.sh b/java_console/bin/stopwatch.sh new file mode 100644 index 0000000000..73fa0c9e00 --- /dev/null +++ b/java_console/bin/stopwatch.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# https://superuser.com/questions/611538/is-there-a-way-to-display-a-countdown-or-stopwatch-timer-in-a-terminal + +while true; do echo -ne "`date +%H:%M:%S:%N`\r"; done \ No newline at end of file