home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
EDITOR
/
NVI179B
/
NVI179B.ZIP
/
perl_scripts
/
wc.pl
< prev
Wrap
Text File
|
1996-07-02
|
171b
|
12 lines
sub wc {
my $words;
$i = $VI::StartLine;
while ($i <= $VI::StopLine) {
$_ = $curscr->GetLine($i++);
$words+=split;
}
$curscr->Msg("$words words");
}
1;