App-Pastebin-sprunge

 view release on metacpan or  search on metacpan

bin/sprunge  view on Meta::CPAN


=head1 SYNOPSIS

    sprunge --lang lang < file
    ps aux | sprunge
    sprunge ID
    sprunge --help

=head1 DESCRIPTION

B<sprunge> is a simple command line program to write to (and read from)
the pastebin L<http://sprunge.us>.

=head2 Writing

Provide input on stdin to B<sprunge> to paste it to the pastebin. Provide the
B<--lang> option to specify syntax highlighting to apply.

    ps aux | sprunge
    sprunge --lang pl < file.pl

=head2 Reading

Run sprunge with a URL or paste ID to output the text to stdout.

    sprunge H2gc | less

=head1 OPTIONS

=over 4

=item B<--help>, -h, -?

Opens this man page and exits.

=item B<--version>

Prints the version of this program and supporting libraries.

=item B<--lang>, --syntax

Specifies the syntax highlighting type to use. sprunge.us allows any syntax
highlighting available from L<Pygments|http://pygments.org/> to be applied
to any paste, so you can change this at any time by altering the URI parameter.

=back

=head1 AVAILABILITY

The project homepage is L<http://metacpan.org/release/App-Pastebin-sprunge/>.

The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see L<https://metacpan.org/module/App::Pastebin::sprunge/>.

=head1 SOURCE

The development version is on github at L<http://github.com/doherty/App-Pastebin-sprunge>
and may be cloned from L<git://github.com/doherty/App-Pastebin-sprunge.git>

=head1 BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the
web interface at L<https://github.com/doherty/App-Pastebin-sprunge/issues>.

=head1 AUTHOR

Mike Doherty <doherty@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Mike Doherty.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut



( run in 2.857 seconds using v1.01-cache-2.11-cpan-d8267643d1d )