projects
/
vaillant-thermostat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b46ffcc
)
quiet curl
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Aug 2017 12:58:03 +0000
(14:58 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Aug 2017 12:58:03 +0000
(14:58 +0200)
serial.pl
patch
|
blob
|
history
diff --git
a/serial.pl
b/serial.pl
index
180cd91
..
06197a0
100755
(executable)
--- a/
serial.pl
+++ b/
serial.pl
@@
-45,7
+45,7
@@
while (1) {
my $hex = unpack('H*',$string);
$hex =~ s/(..)/$1 /g;
- my $temp = `curl localhost:3000/temp.txt`;
+ my $temp = `curl
-q
localhost:3000/temp.txt`;
$temp =~ s/\s+/ /gs;
$temp =~ s/^\s+//;