import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class Analyze { public static void main(String[] args) { String match = args.length > 1 ? args[1] : ""; BufferedReader reader; try { reader = new BufferedReader(new FileReader( args[0])); String prevline = reader.readLine(); String line = reader.readLine(); while (line != null) { if (line.indexOf(match) >= 0) { boolean space = false; for (int i=0; i