<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" 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/" > <channel><title>Comments on: Random cow(ish) animals preaching quotes on Ubuntu 9.10</title> <atom:link href="http://www.doknowevil.net/2010/02/03/random-cowish-animals-preaching-quotes-on-ubuntu-910/feed/" rel="self" type="application/rss+xml" /><link>http://www.doknowevil.net/2010/02/03/random-cowish-animals-preaching-quotes-on-ubuntu-910/</link> <description>Tips and Tricks About Computers, Web Development, Linux, the Internet and the Like</description> <lastBuildDate>Wed, 29 Jun 2011 15:31:50 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.5</generator> <item><title>By: zzxop</title><link>http://www.doknowevil.net/2010/02/03/random-cowish-animals-preaching-quotes-on-ubuntu-910/#comment-1154</link> <dc:creator>zzxop</dc:creator> <pubDate>Tue, 16 Feb 2010 08:01:36 +0000</pubDate> <guid isPermaLink="false">http://www.doknowevil.net/?p=521#comment-1154</guid> <description>hi,i use the last method. but i get an error! &quot; bash: command substitution: line 14: syntax error near unexpected token `+1&#039; bash: command substitution: line 14: `($RANDOM%$(ls $COWDIR &#124; wc -l))+1&#039; &quot;I use Xfce Terminal on archlinux</description> <content:encoded><![CDATA[<p>hi,i use the last method. but i get an error!<br /> &#8221;<br /> bash: command substitution: line 14: syntax error near unexpected token `+1&#8242;<br /> bash: command substitution: line 14: `($RANDOM%$(ls $COWDIR | wc -l))+1&#8242;<br /> &#8221;</p><p>I use Xfce Terminal on archlinux</p> ]]></content:encoded> </item> <item><title>By: Mr. Bougo</title><link>http://www.doknowevil.net/2010/02/03/random-cowish-animals-preaching-quotes-on-ubuntu-910/#comment-1153</link> <dc:creator>Mr. Bougo</dc:creator> <pubDate>Thu, 04 Feb 2010 18:41:45 +0000</pubDate> <guid isPermaLink="false">http://www.doknowevil.net/?p=521#comment-1153</guid> <description>Short one-liner: fortune &#124; cowsay -f $(ls /usr/share/cowsay/cows/ &#124; shuf &#124; head -n1)It&#039;s probably more expensive than picking one random line number, but we&#039;re dealing with a relatively small list of files, so it&#039;s not that much of a downside.</description> <content:encoded><![CDATA[<p>Short one-liner: fortune | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf | head -n1)</p><p>It&#8217;s probably more expensive than picking one random line number, but we&#8217;re dealing with a relatively small list of files, so it&#8217;s not that much of a downside.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Object Caching 355/376 objects using disk

Served from: www.doknowevil.net @ 2012-02-08 12:15:57 -->
