Very basic document sequence generator.
docseq [-E defaultinputencoding] [-b] [-n] -f filename1 [filenameN...]
-E specify encoding to assume if no encoding is found (default: "iso-8859-1") -n do not emit the <?xml..?> processor instruction -b do not emit the <ntv:docseq> container (bare XML) -f following parameters should be considered mailbox filenames
Filenames can also be specified on seperate lines on STDIN.
Convert all the files with the extension "ntvml" in the current directory to a document sequence and store the result in the file "xml".
docseq -f *.ntvml >xml
Find all files with the extension "ntvml" in the directory "new", create a document sequence out of that with ISO-8859-1 encoding and have that indexed on the fly.
ls new/*.ntvml | docseq -e iso-8859-1 | ntvindex -
Elizabeth Mattijsen, <liz@dijkmat.nl>.
Please report bugs to <perlbugs@dijkmat.nl>.
Copyright (c) 1995-2002 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://www.nextrieve.com and the NexTrieve::xxx modules.
To install NexTrieve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NexTrieve
CPAN shell
perl -MCPAN -e shell install NexTrieve
For more information on module installation, please visit the detailed CPAN module installation guide.