/
jcat
executable file
·52 lines (31 loc) · 1.01 KB
/
jcat
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
#!/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