android/GlueIOIOPort: fix spurious errors after IOIO baud rate change
[xcsoar.git] / test / tools / gnuplotitems.pl
blob38373061cc6aa3f6b6cb80bacd24a0b5c3327d86
1 #!/usr/bin/perl
3 my $find = $ARGV[0];
4 my $fname = $ARGV[1];
5 print "# $find, $fname\n";
6 open(INFILE,"<$fname");
7 while (<INFILE>) {
8 if (/(.*) # $find/) {
9 print "$1\n";
10 } else {
11 if (/# $find/) {
12 print "\n";
16 close(INFILE);