NAME

dta-cab-blockscan.perl - scan for block boundaries in DTA::CAB documents

SYNOPSIS

 dta-cab-blockscan.perl [OPTIONS...] DOCUMENT_FILE(s)...

 General Options:
  -help                           ##-- show short usage summary
  -version                        ##-- show version & exit
  -verbose LEVEL                  ##-- set default log level

 I/O Options:
  -input-class CLASS              ##-- select input parse class (default: TT)
  -input-option OPT=VALUE         ##-- set input parser option
  -block SIZE[{k,M,G,T}][@EOB]    ##-- select block boundary specification (default: format-dependent)
  -output-file FILE               ##-- set output file (default: STDOUT)

DESCRIPTION

dta-cab-blockscan.perl is a command-line utility for testing the DTA::CAB block-wise I/O API.

OPTIONS AND ARGUMENTS

General Options

-help

Display a short help message and exit.

-version

Display program and module version information and exit.

-verbose

Set default log level (trace|debug|info|warn|error|fatal).

I/O Options

-input-class CLASS

Select input parser class (default: Text)

-input-option OPT=VALUE

Set arbitrary input parser option OPT to VALUE. May be multiply specified.

-output-file FILE

Set output file (default: STDOUT). Output is written in DTA::CAB::Format::TJ format, where each "sentence" represents a single input file, and each "token" represents a single I/O block. Token "text" is the filename, and block attributes are returned as JSON in the token attribute field.

ACKNOWLEDGEMENTS

Perl by Larry Wall.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011-2019 by Bryan Jurish. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

dta-cab-analyze.perl(1), dta-cab-convert.perl(1), dta-cab-cachegen.perl(1), dta-cab-xmlrpc-server.perl(1), dta-cab-xmlrpc-client.perl(1), DTA::CAB(3pm), perl(1), ...