mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
s/svg/sgv/g - serum glucose value typo
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
SVG=$1
|
||||
SGV=$1
|
||||
DIRECTION=$2
|
||||
AT=$3
|
||||
OPTS=""
|
||||
@@ -12,7 +12,7 @@ UNIX=$(date +%s $OPTS)
|
||||
|
||||
(
|
||||
cat <<EOF
|
||||
{ "svg": $SVG,
|
||||
{ "sgv": $SGV,
|
||||
"device": "test",
|
||||
"direction": "$DIRECTION",
|
||||
"dateString": "$ISO",
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ INPUT=$1
|
||||
(
|
||||
echo '['
|
||||
first=""
|
||||
cat $1 | while read dateString date svg direction device ; do
|
||||
cat $1 | while read dateString date sgv direction device ; do
|
||||
test -n "$first" && printf "," || printf -v first "nope"
|
||||
./bin/create_svg.sh $svg $direction $dateString
|
||||
./bin/create_svg.sh $sgv $direction $dateString
|
||||
echo
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user