// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.nio.file.Files;
import java.nio.file.Paths;

public class P {
    public static void main(String[] args) throws Exception {
        Files.lines(Paths.get("login.com"))
             .filter(line -> line.contains("java"))
             .map(line -> line.substring(2, 13))
             .forEach(System.out::println);
    }
}
