/usr/bin/podspell is in libpod-spell-perl 1.20-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | #!/usr/bin/perl
use strict;
use warnings;
use Pod::Spell;
our $VERSION = '1.20'; # VERSION
if ($] ge '5.008001') {
# Try to get the encoding from the locale
my $encoding = eval {
require POSIX;
POSIX::setlocale(POSIX::LC_CTYPE(), '');
require I18N::Langinfo;
I18N::Langinfo::langinfo(I18N::Langinfo::CODESET())
};
if ($encoding) {
binmode(STDOUT, ":encoding($encoding)");
}
}
if(@ARGV) { # iterate over files, sending to STDOUT
foreach my $x (@ARGV) {
Pod::Spell->new->parse_from_file($x, '-');
}
} else { # take from STDIN, send to STDOUT
Pod::Spell->new->parse_from_filehandle();
}
# ABSTRACT: pod spell checking command line interface
# PODNAME: podspell
__END__
=pod
=encoding UTF-8
=for :stopwords Sean M. Burke Caleb Cushing Olivier Mengué
=head1 NAME
podspell - pod spell checking command line interface
=head1 VERSION
version 1.20
=head1 SYNOPSIS
% podspell Thing.pm | ispell
=head1 AUTHORS
=over 4
=item *
Sean M. Burke <sburke@cpan.org>
=item *
Caleb Cushing <xenoterracide@gmail.com>
=back
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by Olivier Mengué.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
=cut
|