From: Jasen Betts on 12 Apr 2010 20:50 occasionaly I get an ODT file mailed to an account on a text only server. this mailcap(5) entry allows me to see the text of the content from within my text-only mail client (mutt). # should be one line below application/vnd.oasis.opendocument.text; unzip -p '%s' content.xml | sed 's/<text:p[^>]*>/\\n/g' | sed 's/<[^>]*>/ /g' | less ; copiousoutput --- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
|
Pages: 1 Prev: rsync on samba mounts Next: HOw to rebuild a Raid 0 when one disk has gone? |