<?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>digitalself &#187; words</title>
	<atom:link href="http://www.digitalself.org/tag/words/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalself.org</link>
	<description>Realization of self in a digital world</description>
	<lastBuildDate>Mon, 10 Oct 2011 22:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>What does l10n, i18n or m4 mean ?</title>
		<link>http://www.digitalself.org/2008/08/27/what-does-l10n-i18n-or-m4-mean/</link>
		<comments>http://www.digitalself.org/2008/08/27/what-does-l10n-i18n-or-m4-mean/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 21:24:15 +0000</pubDate>
		<dc:creator>alfmatos</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monkey Business]]></category>
		<category><![CDATA[autotools]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[m4]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[words]]></category>

		<guid isPermaLink="false">http://www.digitalself.org/?p=113</guid>
		<description><![CDATA[I have never understood what l10n stands for, nor i18n, nor m4 for that matter. But reading a good online book about autotools, there are a couple of words explaining that in fact m4 stands for Macro, which is m+4 chars. l10n is localization written as  &#8220;l+strlen(ocalizatio)+n&#8221;. Fun. Since I [...]]]></description>
			<content:encoded><![CDATA[<p>I have never understood what <em>l10n</em> stands for, nor <em>i18n</em>, nor <em>m4</em> for that matter. But reading <a href="http://www.freesoftwaremagazine.com/books/autotools_a_guide_to_autoconf_automake_libtool">a good online book about autotools</a>, there are a couple of words explaining that in fact <em>m4</em> stands for <em>Macro</em>, which is m+4 chars. <em>l10n</em> is <em>localization</em> written as  &#8220;l+strlen(ocalizatio)+n&#8221;. Fun. Since I was on vacations while I read this, I had time to write a bash script to do this automatically while enhancing my bash skills. Here is the script:</p>
<pre>#!/bin/bash

STRING=$1
STRLEN=${#STRING}

A=${STRING:1:$STRLEN-2}
echo ${STRING:0:1}${#A}${STRING:$STRLEN-1:$STRLEN-1}</pre>
<p>Try running <em>internationalization</em> on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalself.org/2008/08/27/what-does-l10n-i18n-or-m4-mean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

