<?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>Ferg's gaff &#187; bash</title>
	<atom:link href="http://scotgate.org/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://scotgate.org</link>
	<description>Comics, Macs, RAID, Linux, Gentoo, some science and a dash of atheism. No longer a wet lab molecular biologist, I now work for MacVector, Inc.</description>
	<lastBuildDate>Sun, 05 Sep 2010 15:53:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bash shell extension</title>
		<link>http://scotgate.org/2009/08/10/bash-shell-extension/</link>
		<comments>http://scotgate.org/2009/08/10/bash-shell-extension/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 06:14:38 +0000</pubDate>
		<dc:creator>Ferg</dc:creator>
				<category><![CDATA[Computergeekery]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://scotgate.org/?p=410</guid>
		<description><![CDATA[I came across this cool tip whilst browsing the blog of a fellow storage geek&#8217;s who&#8217;d posted on the Linux RAID list. 
Basically you can insert a variety of characters inside braces to expand them.  I guess like a smart shell expansion using the tab.  The most obvious usage is a major timesaver [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this <a href="http://louwrentius.blogspot.com/2009/05/tip-of-day-for-every-linux-or-unix-user.html">cool tip</a> whilst browsing the <a href="http://louwrentius.blogspot.com">blog</a> of a fellow storage geek&#8217;s who&#8217;d posted on the Linux RAID list. </p>
<p>Basically you can insert a variety of characters inside braces to expand them.  I guess like a smart shell expansion using the tab.  The most <a href="http://louwrentius.blogspot.com/2009/05/tip-of-day-for-every-linux-or-unix-user.html">obvious usage</a> is a major timesaver for creating a backup of a file (which of course we all should do everytime we edit a config file!).</p>
<pre>cp foobar.conf{,.bak}</pre>
<p>will work as:</p>
<pre>cp foobar.conf foobar.conf.bak</pre>
<p>Many more examples are given <a href="http://f241vc15.wordpress.com/2008/02/29/doing-cool-things-in-bash-and-in-linux/">here</a>.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/bash' rel='tag' target='_blank'>bash</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://scotgate.org/2009/08/10/bash-shell-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
