TEXT2ODF(1p)

πŸ“¦
version 2.125 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ¦‹ NAME πŸ¦‹

okay so bestie, welcome to TEXT2ODF(1p) πŸ’… this little icon is literally called text2odf and it does Text to OpenDocument conversion. that’s the whole vibe. no cap.


✨ SYNOPSIS ✨

cat sourcefile.txt | text2odf targetfile.odt

yep. pipe the text in, name the target, slay. πŸŽ€


πŸ’– 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. 😭 so if you already had a file named targetfile.odt, she is gone, replaced, periodt.

To avoid this behaviour and append the text to an existing ODF file, just remove the create => 'text' option in the script. that’s the whole trick, bestie. lowkey iconic. 🫢

⚠️ real talk: the target file gets created, and any existing file with the same name is replaced. if you want append energy instead, you gotta go into the script and remove create => 'text'.

that’s the tea πŸ“ this page is from User Contributed Perl Documentation, running with perl v5.34.0, dated 2022-06-16. mwah πŸ’‹ go convert some text, bestie. πŸ‘‘

πŸ“¦ where this page comes from