<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Abraxas &#187; HTML</title>
	<atom:link href="http://www.effinger.org/blog/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.effinger.org/blog</link>
	<description>a personal knowledge base</description>
	<lastBuildDate>Mon, 23 Jan 2012 22:05:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HTML Entities von der Shell aus in Text umwandeln</title>
		<link>http://www.effinger.org/blog/2009/12/30/html-entities-von-der-shell-aus-in-text-umwandeln/</link>
		<comments>http://www.effinger.org/blog/2009/12/30/html-entities-von-der-shell-aus-in-text-umwandeln/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 10:59:17 +0000</pubDate>
		<dc:creator>Markus Effinger</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.effinger.org/blog/?p=829</guid>
		<description><![CDATA[<p>Bislang hatte ich noch kein Pogramm gesehen, bei dem man auf der Kommandozeile einfach HTML Entitäten, wie &#38;gt; oder &#38;amp; in den normalen Zeichensatz zurückkonvertieren kann. Sicher, es gibt dafür eine PHP-Funktion und bestimmt auch eine entsprechende Perl-Funktion, aber warum nicht etwas einfacheres nutzen..</p> sudo apt-get install recode recode HTML.. &#60; file.html &#62; file.txt <p>Recode [...]]]></description>
			<content:encoded><![CDATA[<p>Bislang hatte ich noch kein Pogramm gesehen, bei dem man auf der Kommandozeile einfach HTML Entitäten, wie &amp;gt; oder &amp;amp; in den normalen Zeichensatz zurückkonvertieren kann. Sicher, es gibt dafür eine PHP-Funktion und bestimmt auch eine entsprechende Perl-Funktion, aber warum nicht etwas einfacheres nutzen..</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> recode
recode HTML.. <span style="color: #000000; font-weight: bold;">&lt;</span> file.html <span style="color: #000000; font-weight: bold;">&gt;</span> file.txt</pre></div></div>

<p>Recode kann übrigens noch mehr, z.B. die Zeilenumbrüche vom Linux-Format zu Windows konvertieren. Eine <a href="http://www.linux.co.uk/docs/center/manual/debian-reference/debian-tips/nifty-little-commands-to-remember/convert-a-text-file-with-recode">kleine Beispielsammlung gibt es bei linux.co.uk</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.effinger.org/blog/2009/12/30/html-entities-von-der-shell-aus-in-text-umwandeln/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

