help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my fault about the time e number, didnt know what e means


From: Alex fxmbsw7 Ratchev
Subject: my fault about the time e number, didnt know what e means
Date: Tue, 9 Mar 2021 20:01:25 +0100

sorry

the parsing code tho:

gawk -v RS='[-0-9,.e+]+' -v ORS='' 'BEGIN { e[ "" ] }
RT in e { exit }
sav in e { sav = RT ; next }
{ printf ( ( ++i == 1 ) ? "" : " " ) "%.10f", RT - sav ; sav = "" }
END { printf "\n" }' <<<"${plustime[@]}"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]