Merge from X250

This commit is contained in:
2024-08-30 09:44:33 +02:00
commit 49437aa167
68 changed files with 736 additions and 0 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
DECIMAL=`date +%H:%M:%S:0.%N | awk -F "[d :]" '{printf "%.05f", (($1*3600)+($2*60)+($3)+($4))/86400.0 }'`
HH=`echo $DECIMAL | cut -c -3 | sed -e 's/\.//'`
MM=`echo $DECIMAL | cut -c -5 | tail -c -3`
SS=`echo $DECIMAL | cut -c -7 | tail -c -3`
echo $HH:$MM:$SS