quiet curl
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Aug 2017 12:58:03 +0000 (14:58 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Aug 2017 12:58:03 +0000 (14:58 +0200)
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+//;