The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

text2odf - Text to OpenDocument conversion

SYNOPSIS

cat sourcefile.txt | text2odf targetfile.odt

DESCRIPTION

This filter creates an OpenDocument (ODF) file and fills it with the text coming through the standard entry. The target file is created, and any existing file with the same name is replaced. To avoid this behaviour and append the text to an existing ODF file, just remove the create => 'text' option in the script.