2 public class OneLinePerDescriptor
{
3 public static void main(String
[] args
) throws Exception
{
4 BufferedReader br
= new BufferedReader(new FileReader(
5 "bridge-bandwidth-histories-raw.txt"));
7 BufferedWriter bw
= new BufferedWriter(new FileWriter(
8 "bridge-bandwidth-histories-by-fingerprint.txt"));
9 while ((line
= br
.readLine()) != null) {
10 if (line
.startsWith("extra-info ")) {
11 bw
.write("\n" + line
);