repo.or.cz
/
xcsoar.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
android/GlueIOIOPort: fix spurious errors after IOIO baud rate change
[xcsoar.git]
/
test
/
tools
/
gnuplotitems.pl
blob
38373061cc6aa3f6b6cb80bacd24a0b5c3327d86
1
#!/usr/bin/perl
2
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
"
;
13
}
14
}
15
}
16
close
(
INFILE
);