ODFSEARCH(1)
π¦ ODFSEARCH(1) β the odfsearch manual, bestie π¦
okay so this page comes from the User Contributed Perl Documentation collection, and it's all about the odfsearch manual. It's a sample script, and it's giving useful β¨ main-character energy β¨ in the best way.
π NAME π
odfsearch β text selection and copy from one document to another using callback. That's the whole vibe: one document to another, with callback in the mix π.
πΈ SYNOPSIS πΈ
okay so here's the tea: this sample script extracts the content of every text element β paragraph, header, list item β in a source document that matches a given pattern (string or regex). Then it appends that content as a new paragraph to a target document. Slay.
β οΈ target document check: the target document must exist. It can be an empty document or a template. For real, it must exist β no cap.
and here's the usage line, literally exactly:
usage : odfsearch target_file source_file "search_string"
π«Ά that's the whole manual, bestie. it'sperl v5.42.3, dated2010-07-12, and it'sODFSEARCH(1). periodt π β¨
π¦ where this page comes from
- nixos 26.05: perl5.42.3-OpenOffice-OODoc 2.125
- nixpkgs unstable: perl5.42.3-OpenOffice-OODoc 2.125
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms