App-freqtable
view release on metacpan or search on metacpan
script/freqtable view on Meta::CPAN
'no-print-freq|F' => sub { $Opts{print_freq} = 0 },
'print-freq' => sub { $Opts{print_freq} = 1 },
'freq=s' => \$tmp_freq,
'sort-sub=s' => \$Opts{sort_sub},
'sort-arg=s%' => $Opts{sort_args},
'a' => sub { $Opts{sort_sub} = 'asciibetically' },
'percent|p' => sub { $Opts{percent} = 1 },
'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
--no-print-freq, -F
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.008 of freqtable (from Perl distribution App-freqtable), released on 2023-12-28.
=head1 SYNOPSIS
% freqtable [OPTIONS] < INPUT
Sample input:
% cat input-lines.txt
one
one
two
three
four
five
( run in 0.609 second using v1.01-cache-2.11-cpan-c6e0e5ac2a7 )