Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 53 lines (31 sloc) 1.01 KB
#!/usr/bin/perl
use App::PipeFilter::JsonCat;
exit App::PipeFilter::JsonCat->new_with_options()->run();
__END__
=pod
=head1 NAME
jcat - concatenate and print JSON files
=head1 SYNOPSIS
jcat [--verbose] [file ...]
=head1 DESCRIPTION
jcat(1) reads files of JSON objects sequentially, writing them to
standard output one object per line. Multiline JSON objects are
flattened to single lines for output.
=head1 SEE ALSO
You may read this utility's implementation in its entirety at
perldoc -m jcat
L<App::PipeFilter::JsonCat> implements this utility.
L<App::PipeFilter> has top-level documentation including a table of
contents for all the libraries and utilities included in the project.
=head1 BUGS
L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter>
=head1 REPOSITORY
L<https://github.com/rcaputo/app-pipefilter>
=head1 COPYRIGHT AND LICENSE
jcat
is Copyright 2011 by Rocco Caputo.
All rights are reserved.
jcat
is released under the same terms as Perl itself.
=cut
# vim: ts=2 sw=2 expandtab