diff options
| author | wukong <wukong@longaeva> | 2026-02-07 22:26:57 -0800 |
|---|---|---|
| committer | wukong <wukong@longaeva> | 2026-02-07 22:26:57 -0800 |
| commit | 0f201cda8d5099018379b44273a695d07761052d (patch) | |
| tree | 5e0252cacc195d491b115a20c603bcbf50dae69d /ckt0.sh | |
| parent | a808892b87853d0cedae554b7cf1c20d5c813cff (diff) | |
fixed text substitution on ck_uptime() on Darwin to allow sec counter in first
minute after bootup;
added (+ 0.0) in days, hrs, mins, sec cases to change string to float for
comparison in if condition;
Diffstat (limited to 'ckt0.sh')
| -rw-r--r-- | ckt0.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ for N in $(seq 0 10080) ; do #awk -f ckt0.awk #sleep $( awk 'BEGIN {print(sqrt( rand()^2.0 + 1.0 ))}' ) #sleep $( echo $t0_est | awk '{print(sqrt( ((60.0*$4)/(60.0 + $4))^2.0 + rand()^2.0 ))}' ) - sleep $( echo $t0_est | awk '{print( sqrt($2^2.0 + $4^2.0 + $6^2.0 + rand()^2.0)%60.0 )}' ) + sleep $( echo $t0_est | awk '{print( sqrt($2^2.0 + $4^2.0 + $6^2.0 + rand()^2.0)%30.0 )}' ) done |
