This is wc.pl in view mode; [Download] [Up]
sub wc { my $words; $i = $VI::StartLine; while ($i <= $VI::StopLine) { $_ = $curscr->GetLine($i++); $words+=split; } $curscr->Msg("$words words"); } 1;
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.