#liest Textfile von der Kommandozeile while (<>) { chomp; if (/Label:(.*?)$/) { print "$1\n"; } }