!7 p { File outDir = new File("/home/stefan/dev/woody/web-out"); for (File f : listFiles("/home/stefan/dev/woody/web")) pcall { if (!f.getName().endsWith(".php")) continue; print(f); S text = loadTextFile(f); L lines = lines(text); lines.add(0, [[]]); int idx = indexOfElementThatContains(lines, " BOTFELD "); if (idx < 0) { print("no botfeld"); continue; } assertTrue(cic(lines.get(idx+1), "" + "\n" + lines.get(j)); saveTextFile(new File(outDir, f.getName()), lines(lines)); } }