make curl --silent
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 17 Sep 2017 09:38:09 +0000 (11:38 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 17 Sep 2017 09:38:09 +0000 (11:38 +0200)
serial.pl

index 06197a0..12a2cbf 100755 (executable)
--- a/serial.pl
+++ b/serial.pl
@@ -45,7 +45,7 @@ while (1) {
                my $hex = unpack('H*',$string);
                $hex =~ s/(..)/$1 /g;
 
                my $hex = unpack('H*',$string);
                $hex =~ s/(..)/$1 /g;
 
-               my $temp = `curl -q localhost:3000/temp.txt`;
+               my $temp = `curl --silent localhost:3000/temp.txt`;
                $temp =~ s/\s+/ /gs;
                $temp =~ s/^\s+//;
 
                $temp =~ s/\s+/ /gs;
                $temp =~ s/^\s+//;