From 4496c28f6175b8e1e65ed03891a18fc6420ebb49 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Wed, 16 Jun 2021 22:28:41 -0400 Subject: [PATCH] disable POSIX by default --- dotfiles-old/bin/data | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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