<?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>Jayce &#187; Bash</title>
	<atom:link href="http://www.jaycehall.com/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaycehall.com</link>
	<description>Rants Reviews and more</description>
	<lastBuildDate>Thu, 04 Mar 2010 23:08:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>seq on osx</title>
		<link>http://www.jaycehall.com/2008/11/04/seq-on-osx/</link>
		<comments>http://www.jaycehall.com/2008/11/04/seq-on-osx/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 18:11:39 +0000</pubDate>
		<dc:creator>Jayce</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.jaycehall.com/?p=27</guid>
		<description><![CDATA[I was trying to mirror down a set of zip&#8217;s (CD3WD a pretty amazing resource) and I didnt&#8217; want to just mirror, because of other data.  So I was trying to do a simple loop, but was thinking too Perlish and trying to sprintf somehow the numerical formatting (files are cd3wd401 to 444, so needed [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to mirror down a set of zip&#8217;s (<a href="http://www.cd3wd.com/CD3WD/index.htm" target="_blank">CD3WD</a> a pretty amazing resource) and I didnt&#8217; want to just mirror, because of other data.  So I was trying to do a simple loop, but was thinking too Perlish and trying to sprintf somehow the numerical formatting (files are cd3wd401 to 444, so needed the 0).  <a href="http://blog.josephhall.com" target="_blank">Perlhoser</a> corrected my attempt, by pointing me to the seq command, with the -w flag, which pads the width to the largest amount, with leading zeros, perfect.</p>
<p>Until I tried to run it on my mac, which had the drive I wanted it on, instead of a linux box.  Seq wasn&#8217;t installed, and I couldnt&#8217; find it with macports.  However I did find via google that the &#8216;coreutils&#8217; port has a &#8216;gseq&#8217; tool. Drop in replacement for my script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaycehall.com/2008/11/04/seq-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
