<?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: Hack 3. Perform mkdir and cd using a single command</title>
	<atom:link href="http://linux.101hacks.com/cd-command/mkdir-and-cd-together/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.101hacks.com/cd-command/mkdir-and-cd-together/</link>
	<description>Free eBook to Build a Strong Foundation in UNIX / Linux</description>
	<lastBuildDate>Thu, 01 Dec 2011 10:33:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Raksi</title>
		<link>http://linux.101hacks.com/cd-command/mkdir-and-cd-together/comment-page-1/#comment-5259</link>
		<dc:creator>Raksi</dc:creator>
		<pubDate>Tue, 13 Sep 2011 06:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://linux.101hacks.com/?p=48#comment-5259</guid>
		<description>&gt;Why don’t You use
&gt;mkdir -p &quot;$@&quot; &amp;&amp; cd $_;
&gt;instead of
&gt;mkdir -p &quot;$@&quot; &amp;&amp; eval cd &quot;\&quot;\$$#\&quot;&quot;;
&gt;? Isn’t it a bit clumsy?

Because it is possible to create directories that contain &quot;space&quot; characters. With your solution it is not possible. Anyway, thanks for the hack.</description>
		<content:encoded><![CDATA[<p>&gt;Why don’t You use<br />
&gt;mkdir -p &#8220;$@&#8221; &amp;&amp; cd $_;<br />
&gt;instead of<br />
&gt;mkdir -p &#8220;$@&#8221; &amp;&amp; eval cd &#8220;\&#8221;\$$#\&#8221;";<br />
&gt;? Isn’t it a bit clumsy?</p>
<p>Because it is possible to create directories that contain &#8220;space&#8221; characters. With your solution it is not possible. Anyway, thanks for the hack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smok Wawelski</title>
		<link>http://linux.101hacks.com/cd-command/mkdir-and-cd-together/comment-page-1/#comment-4</link>
		<dc:creator>Smok Wawelski</dc:creator>
		<pubDate>Thu, 14 Jan 2010 14:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://linux.101hacks.com/?p=48#comment-4</guid>
		<description>Why don&#039;t You use 
&lt;code&gt;mkdir -p &quot;$@&quot; &amp;&amp; cd $_;&lt;/code&gt;
instead of
&lt;code&gt;mkdir -p &quot;$@&quot; &amp;&amp; eval cd &quot;\&quot;\$$#\&quot;&quot;;&lt;/code&gt;
? Isn&#039;t it a bit clumsy?</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t You use<br />
<code>mkdir -p "$@" &amp;&amp; cd $_;</code><br />
instead of<br />
<code>mkdir -p "$@" &amp;&amp; eval cd "\"\$$#\"";</code><br />
? Isn&#8217;t it a bit clumsy?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.101hacks.com

Served from: linux.101hacks.com @ 2012-02-04 04:17:56 -->
