<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Consider adding directory indexing/search"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=91743#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Consider adding directory indexing/search"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=91743">bug 91743</a>
from <span class="vcard"><a class="email" href="mailto:public@beloved.name" title="David Hedlund <public@beloved.name>"> <span class="fn">David Hedlund</span></a>
</span></b>
<pre><a href="https://askubuntu.com/questions/938834/grep-for-text-in-odt-or-doc-files/938914#938914">https://askubuntu.com/questions/938834/grep-for-text-in-odt-or-doc-files/938914#938914</a>
lists a script for fulltext search for _all_ LibreOffice (OD* files) documents
in a folder.
#!/bin/bash
find . -type f -name "*.od*" | while read i ; do
[ "$1" ] || { echo "You forgot search string!" ; exit 1 ; }
unzip -ca "$i" 2>/dev/null | grep -iq "$*"
if [ $? -eq 0 ] ; then
echo "string found in $i" | nl
fi
done</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>