Portál AbcLinuxu, 1. května 2025 14:08
# RTF document regex/\.(rtf|RTF|Rtf)$ View=%view{ascii} unrtf --html %f | lynx -dump -stdin # Microsoft Word document regex/\.([Dd]o[ct]|DO[CT]|[Ww]ri|WRI)$ View=%view{ascii} antiword -m 8859-2.txt %f # Microsoft Excel spreadsheet regex/\.([Xx]l[sw]|XL[SW])$ View=%view{ascii} xls2csv %f || strings %f # OpenOffice.org Writer document regex/\.(sxw|stw|sxc|stc|sxi|sti|sxd|std|sxm|sxg)$ View=%view unzip -p %f content.xml | o3totxt | cstocs utf8 il2 - # PDF type/^PDF View=%view{ascii} pdftotext -enc Latin2 %f 2>/dev/null -
Tiskni
Sdílej:
sed -e 's/<\/text:p>/\n/g' content.xml | o3totxt | cstocs utf8 il2 | fmt -u | vim -n -
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.