<?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"
	>
<channel>
	<title>Comments for jonathanwagner.net</title>
	<atom:link href="http://jonathanwagner.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanwagner.net</link>
	<description>The webspace of Jonathan Wagner</description>
	<pubDate>Thu, 24 Jul 2008 17:32:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Zero Padding in Bash by Binny V A</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-657</link>
		<dc:creator>Binny V A</dc:creator>
		<pubDate>Tue, 01 Jul 2008 18:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-657</guid>
		<description>Thanks! I was going to write a script for this - you saved my time.</description>
		<content:encoded><![CDATA[<p>Thanks! I was going to write a script for this - you saved my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by gxx</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-656</link>
		<dc:creator>gxx</dc:creator>
		<pubDate>Wed, 25 Jun 2008 02:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-656</guid>
		<description>Thanks SirPavlova, that was exactly what I was looking for...</description>
		<content:encoded><![CDATA[<p>Thanks SirPavlova, that was exactly what I was looking for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by SirPavlova</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-654</link>
		<dc:creator>SirPavlova</dc:creator>
		<pubDate>Mon, 12 May 2008 19:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-654</guid>
		<description>For anyone wanting to do this using jot, try "jot -w %03d 10 1" for 001 to 010, etc. Hopefully this saves one or two people a trip to the man pages.</description>
		<content:encoded><![CDATA[<p>For anyone wanting to do this using jot, try &#8220;jot -w %03d 10 1&#8243; for 001 to 010, etc. Hopefully this saves one or two people a trip to the man pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by pedro</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-652</link>
		<dc:creator>pedro</dc:creator>
		<pubDate>Sat, 26 Apr 2008 11:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-652</guid>
		<description>Great stuff, I used to program in C and C++ but never really realised how printf() could fit in shell commands/scripts.

Now I do! Good on ya, thanks</description>
		<content:encoded><![CDATA[<p>Great stuff, I used to program in C and C++ but never really realised how printf() could fit in shell commands/scripts.</p>
<p>Now I do! Good on ya, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by William Tracy</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-640</link>
		<dc:creator>William Tracy</dc:creator>
		<pubDate>Wed, 20 Feb 2008 06:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-640</guid>
		<description>Thank-you.

Thank-you, thank-you.</description>
		<content:encoded><![CDATA[<p>Thank-you.</p>
<p>Thank-you, thank-you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by snakehsu</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-637</link>
		<dc:creator>snakehsu</dc:creator>
		<pubDate>Fri, 25 Jan 2008 13:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-637</guid>
		<description>Thanks for the tips.  For your particular case you can use seq no problem.  But sometimes you may need to use these numbers as array index, which is my case, in which I cannot use seq -w as Bash consider 01, 02 ... as octet numbers so 08 and 09 would be ``illegal'' index.  So I used seq without -w as index and used your printf method to generate zero paddings when I need them in the filename.</description>
		<content:encoded><![CDATA[<p>Thanks for the tips.  For your particular case you can use seq no problem.  But sometimes you may need to use these numbers as array index, which is my case, in which I cannot use seq -w as Bash consider 01, 02 &#8230; as octet numbers so 08 and 09 would be &#8220;illegal&#8221; index.  So I used seq without -w as index and used your printf method to generate zero paddings when I need them in the filename.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by David</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-630</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 08 Nov 2007 14:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-630</guid>
		<description>seq has an option to zero-pad (-w) so you can just do this:

seq -w 1 31</description>
		<content:encoded><![CDATA[<p>seq has an option to zero-pad (-w) so you can just do this:</p>
<p>seq -w 1 31</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by al</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-236</link>
		<dc:creator>al</dc:creator>
		<pubDate>Thu, 21 Jun 2007 18:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-236</guid>
		<description>Starting to work on some BASH stuff the other day and this saved my sanity.  Thanks!</description>
		<content:encoded><![CDATA[<p>Starting to work on some BASH stuff the other day and this saved my sanity.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by John</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-213</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 09 Jun 2007 09:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-213</guid>
		<description>For generating this sort of thing seq can generate zero padded sequences of numbers...

for i in `seq -f '%02g' 1 31` ; do mkdir $i ; done</description>
		<content:encoded><![CDATA[<p>For generating this sort of thing seq can generate zero padded sequences of numbers&#8230;</p>
<p>for i in `seq -f &#8216;%02g&#8217; 1 31` ; do mkdir $i ; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zero Padding in Bash by Nikhil</title>
		<link>http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-209</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Fri, 01 Jun 2007 02:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanwagner.net/2007/04/zero-padding-in-bash/#comment-209</guid>
		<description>Thanks! It is true that searching the web doesn't give much help for padding numbers in bash! Your article was really helpful!</description>
		<content:encoded><![CDATA[<p>Thanks! It is true that searching the web doesn&#8217;t give much help for padding numbers in bash! Your article was really helpful!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
