Thread Zeilenanzahl einer Textdatei ermitteln (7 answers)
Opened by Gast at 2008-09-23 17:54

Gast Gast
 2008-09-23 19:38
#114886 #114886
oder so ;-P
Code (perl): (dl )
1
2
3
my $lc;
for(open(F, $0); !eof(F) || !($lc=$.) || !close(F) ; <F> ){}
print "$lc\n";

View full thread Zeilenanzahl einer Textdatei ermitteln