diff --git a/dotfiles-old/bin/data b/dotfiles-old/bin/data index 7fcf850..1e59282 100755 --- a/dotfiles-old/bin/data +++ b/dotfiles-old/bin/data @@ -2,6 +2,9 @@ set -e +# depends on https://git.sr.ht/~trinity/utilities (particularly fdivide(1), +# gt(1), and stris(1)) unless POSIXLY_CORRECT is set (not tested) + # these files (separated by newlines) will have the current CPU temperature # multiplied by $CPU_TEMP_SCALE. this script divides the file contents by scale # and displays that temperature (assumed to be in Celsius units) @@ -16,10 +19,10 @@ alias date="date '+%Y-%m-%dT%T'" # not an integer) INTERVAL=1 -# enable if you have issues with missing `stris` etc. enabled by default. -# will save negligible time with shells that don't spawn new processes for -# test(1) -POSIXLY_CORRECT=1 +# enable if you have issues with missing `stris` etc. will save negligible time +# with shells that don't spawn new processes for test(1) +# fdivide_posix() may not be fully working yet, so it's not enabled by default +#POSIXLY_CORRECT=1 # this URL will have in plain text the public IP address from which it was # accessed