App-freqtable
view release on metacpan or search on metacpan
script/freqtable view on Meta::CPAN
'sort-sub=s' => \$Opts{sort_sub},
'sort-arg=s%' => $Opts{sort_args},
'a' => sub { $Opts{sort_sub} = 'asciibetically' },
'percent|p' => sub { $Opts{percent}++ },
'clear-before-output' => sub { $Opts{clear_before_output} = 1 },
'output-every=i' => \$Opts{output_every},
'format=s' =>\$Opts{format},
'help|h' => sub {
print <<USAGE;
Usage:
freqtable [OPTIONS]... < INPUT
freqtable --help (or -h)
Options:
--bytes, -c
--chars, -m
--words, -w
--lines, -l
--number, -n
--integer, -i
--ignore-case, -f
--print-freq
script/freqtable view on Meta::CPAN
=head1 NAME
freqtable - Print frequency table of lines/words/characters/bytes/numbers
=head1 VERSION
This document describes version 0.010 of freqtable (from Perl distribution App-freqtable), released on 2025-08-03.
=head1 SYNOPSIS
% freqtable [OPTIONS] < INPUT
Sample input:
% cat input-lines.txt
one
one
two
three
four
five
( run in 0.998 second using v1.01-cache-2.11-cpan-39bf76dae61 )