summaryrefslogtreecommitdiff
path: root/gettemp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gettemp.sh')
-rwxr-xr-xgettemp.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/gettemp.sh b/gettemp.sh
new file mode 100755
index 0000000..6283876
--- /dev/null
+++ b/gettemp.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+source functions.sh
+
+declare -a temp
+temp=($(fgettemp))
+
+echo "current: ${temp[0]}; target: ${temp[1]}"