ODFFINDBASIC(1p)

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

✨ ODFFINDBASIC ✨

okay bestie, welcome to the odffindbasic page from the User Contributed Perl Documentation section of the manual β€” it's giving little utility, big main character energy πŸ’…


🌸 NAME 🌸

odffindbasic β€” Basic macro removal from OpenOffice.org files 🧚


πŸŽ€ USAGE πŸŽ€

odffindbasic [options] <sourcefile> [<targetfile>]

πŸ¦‹ DESCRIPTION πŸ¦‹

so it's a simple command, right? and what it does is let you detect, export or remove the Basic modules from a regular OpenOffice.org file. that's the whole vibe 🫢

If you run it with no option at all, the program just tells you the number of Basic modules it found in the file. cute little headcount, no cap ✨

The 2nd filename (the <targetfile>) only comes into play in combination with the --delete option. iykyk πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • --nocount β€” stops the program from displaying the number of Basic modules it found. like, it just won't tell you. rude but valid πŸ™ˆ
  • --delete, -d β€” if this option is set, the Basic modules get physically deleted. the file manifest is updated accordingly. but β€” and this is the important part, bestie β€” the document content stays exactly the same, even if it contains references to the deleted macros. the code itself is removed, so the macros are no longer executable. periodt πŸ’€ if you hand it a target file name as the 2nd argument, the changes get saved into that one and the source file remains unchanged. non-destructive queen 🌈
  • --export, -e β€” exports the macros. every single Basic module gets extracted and converted into a flat Basic source file in the current directory. the name of each created file is built according to the corresponding path inside the ODF file, and its suffix is bas. obsessed πŸ’–
  • --list, -l β€” the Basic modules get listed through standard output. simple, iconic, straight to stdout ✨
  • --verbose β€” some information messages get printed. little yapping, as a treat πŸŽ€

ngl, that's the whole page. five options, one tiny utility, zero filler. ate and left no crumbs πŸ“

sign-off time, bestie πŸ’œ this gorgeousness comes to you courtesy of perl v5.34.0, dated 2022-06-16 β€” and that's on ODFFINDBASIC(1p), fr fr 🌟

πŸ“¦ where this page comes from