scripts-and-tools/stopwatch
2021-09-05 22:26:36 +02:00

8 lines
130 B
Bash
Executable file

#!/bin/bash
now=$(date +%s)sec
while true; do
printf "%s\r" $(TZ=UTC date --date now-$now +%H:%M:%S.%N)
sleep 0.1
done