<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Just Another Bash Hacker on Karpoke - Just Another Blog</title><link>http://karpoke.ignaciocano.com/tags/just-another-bash-hacker/</link><description>Recent content in Just Another Bash Hacker on Karpoke - Just Another Blog</description><generator>Hugo -- 0.159.0</generator><language>es</language><lastBuildDate>Wed, 28 Jul 2010 14:03:00 +0100</lastBuildDate><atom:link href="http://karpoke.ignaciocano.com/tags/just-another-bash-hacker/index.xml" rel="self" type="application/rss+xml"/><item><title>JABH - Just Another Bash Hacker</title><link>http://karpoke.ignaciocano.com/2010/07/28/jabh/</link><pubDate>Wed, 28 Jul 2010 14:03:00 +0100</pubDate><guid>http://karpoke.ignaciocano.com/2010/07/28/jabh/</guid><description>&lt;p&gt;Se le llama &lt;a href="http://en.wikipedia.org/wiki/Just_another_Perl_hacker"&gt;JAPH&lt;/a&gt; a un programa en Perl que escribe &amp;ldquo;Just another
Perl hacker,&amp;rdquo;. JABH vendría a ser algo parecido, en Bash:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ s=&amp;#34;Jaescunrhkso ettBhr haa,&amp;#34;;for y in {0..4};do for x in {0..4};do echo -n &amp;#34;${s:$((5*x+y)):1}&amp;#34;;done;done
Just another Bash hacker,
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Otra versión, algo más críptica:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ s=&amp;#34;Jaescunrhkso ettBhr haa,&amp;#34;;t=4;f(){ eval &amp;#34;for $1 in {0..$t};do eval $2;done;&amp;#34;;};f x &amp;#39;;f y &amp;#34;echo -n \&amp;#34;&amp;#39;\&amp;#39;&amp;#39;\${s:\$(((t+1)*y+x)):1}&amp;#39;\&amp;#39;&amp;#39;\&amp;#34;&amp;#34;&amp;#39;
Just another Bash hacker,
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>