Re: searching through open-/libreoffice documents
or you can use zgrep
zgrep - search possibly compressed files for a regular expression
Best regards
--
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
juan@elsotanillo.net
----------------------------------------------------------------------------
Usuario Linux Registrado: #257202
http://www.elsotanillo.net
----------------------------------------------------------------------------
2011/6/16 Juan Sierra Pons <juan@elsotanillo.net>:
> Hi
>
> Google is your friend :P
>
> http://forums.opensuse.org/archives/sf-archives/archives-programming-scripting/337622-using-grep-openoffice-files.html
>
> "
> The openoffice file (something.odt) is a zip file with a collection of
> files that make up the document inside. One of these files is a .XML
> file called contents.xml that contains the actual text of your
> document.
> "
>
> You can create un script to unzip the file and then "grep" the xml content
>
> Best regards
>
> Juan
> --
> Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
> juan@elsotanillo.net
> ----------------------------------------------------------------------------
> Usuario Linux Registrado: #257202
> http://www.elsotanillo.net
> ----------------------------------------------------------------------------
>
>
> 2011/6/16 lee <lee@yun.yagibdah.de>:
>> Hi,
>>
>> when I have a collection of documents created with
>> openoffice/libreoffice writer and want to search through them for
>> strings contained in the text, how do I do that? Is there some
>> equivalent for grep that works on such files?
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: [🔎] 87ips5vpjw.fsf@yun.yagibdah.de">http://lists.debian.org/[🔎] 87ips5vpjw.fsf@yun.yagibdah.de
>>
>>
>
Reply to: