<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Notebook</title>
	<atom:link href="http://linansg.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linansg.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 06 Dec 2011 13:43:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='linansg.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Notebook</title>
		<link>http://linansg.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://linansg.wordpress.com/osd.xml" title="My Notebook" />
	<atom:link rel='hub' href='http://linansg.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Rename multiple files in Linux</title>
		<link>http://linansg.wordpress.com/2007/03/27/rename-multiple-files-in-linux/</link>
		<comments>http://linansg.wordpress.com/2007/03/27/rename-multiple-files-in-linux/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 06:29:07 +0000</pubDate>
		<dc:creator>linansg</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://linansg.wordpress.com/2007/03/27/rename-multiple-files-in-linux/</guid>
		<description><![CDATA[(Below tips are copied from LINUX BY EXAMPLE.com) Often over time, we will want to reorganize a group of files by renaming them. To rename *.txt to *.bak (e.g. to rename ham.txt to ham.bak) for f in *.txt; do mv "$f" "${f%.txt}.bak"; done To remove ‘new-’ from new-* (e.g. to rename new-ham.txt to ham.txt) for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=5&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(Below tips are copied from LINUX BY EXAMPLE.com)</p>
<p>Often over time, we will want to reorganize a group of files by renaming them.</p>
<p><strong>To rename *.txt to *.bak </strong><br />
(e.g. to rename <em>ham.txt </em>to <em>ham.bak</em>)</p>
<pre><code>for f in *.txt; do mv "$f" "${f%.txt}.bak"; done</code></pre>
<p><strong>To remove ‘new-’ from new-*<br />
</strong>(e.g. to rename <em>new-ham.txt to ham.txt</em>)</p>
<pre><code>for f in new-*; do mv "$f" "${f#new-}"; done</code></pre>
<p><strong>${variable%pattern} <em>vs</em> ${variable#pattern}</strong></p>
<p>The funny-looking symbol, <code>${f%.txt}</code> is a useful <em>match-and-remove</em> <strong>string operator</strong>:</p>
<p>If the <em>pattern </em><em>‘.txt’</em>  matches<em> the end</em> of <em>variable</em> $f, it will remove the matching part (that’s ‘<em>.txt</em>‘) and return the rest. Try this:</p>
<pre><code>f=new-ham.txt      # define $f as 'new-ham.txt'
echo ${f%.txt}     # display 'new-ham'</code></pre>
<p>What about <code>${f#new-}</code>? It’s almost the same, but it matches the pattern <em>at the beginning </em>of the variable.</p>
<pre><code>echo ${f#new-}     # display 'ham.txt'</code></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linansg.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linansg.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linansg.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linansg.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linansg.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=5&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linansg.wordpress.com/2007/03/27/rename-multiple-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/441ade2ee37814680ffa5f35107d7b67?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nn</media:title>
		</media:content>
	</item>
		<item>
		<title>To remove autostart programs from windows</title>
		<link>http://linansg.wordpress.com/2007/02/22/to-remove-autostart-programs-from-windows/</link>
		<comments>http://linansg.wordpress.com/2007/02/22/to-remove-autostart-programs-from-windows/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 01:42:39 +0000</pubDate>
		<dc:creator>linansg</dc:creator>
				<category><![CDATA[windows os]]></category>

		<guid isPermaLink="false">http://linansg.wordpress.com/2007/02/22/to-remove-autostart-programs-from-windows/</guid>
		<description><![CDATA[Windows XP comes with the System Configurationtool (Msconfig.exe), an excellent way to manage the startup process. To start it: Click Start, click Run, type Msconfig, and then press Enter. On the Startup tab, you&#8217;ll see a list of all the programs and processes that are set to run when Windows XP loads. Speed up your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=4&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Windows XP comes with the <strong>System Configuration</strong><strong>tool</strong> (Msconfig.exe), an excellent way to manage the startup process. To start it:</p>
<ol>
<li>Click <strong>Start</strong>, click <strong>Run</strong>, type <strong>Msconfig</strong>, and then press Enter.</li>
<li>On the <strong>Startup</strong> tab, you&#8217;ll see a list of all the programs and processes that are set to run when Windows XP loads.</li>
<li>Speed up your overall start time by clearing the check box next to any item you think you don&#8217;t need.</li>
<li>Click <strong>Apply</strong>, and then restart your computer for the changes to take effect.</li>
</ol>
<p>You can look up each entry at <a href="http://www.sysinfo.org/startuplist.php" target="_blank">Paul Collins&#8217; Startup Applications List</a> to determine whether you want it to start automatically.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linansg.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linansg.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linansg.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linansg.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linansg.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=4&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linansg.wordpress.com/2007/02/22/to-remove-autostart-programs-from-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/441ade2ee37814680ffa5f35107d7b67?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nn</media:title>
		</media:content>
	</item>
		<item>
		<title>Necessary vim settings in .vimrc</title>
		<link>http://linansg.wordpress.com/2007/01/18/hello-world/</link>
		<comments>http://linansg.wordpress.com/2007/01/18/hello-world/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 14:45:12 +0000</pubDate>
		<dc:creator>linansg</dc:creator>
				<category><![CDATA[vim]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Convert TAB to spaces set tabstop=4 set shiftwidth=4 set expandtab Disable backup and swap file set nobackup set nowritebackup set noswapfile<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=1&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>Convert TAB to spaces
<p>set tabstop=4<br />
set shiftwidth=4<br />
set expandtab</li>
</ul>
<ul>
<li>Disable backup and swap file<br />
set nobackup<br />
set nowritebackup<br />
set noswapfile</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linansg.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linansg.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linansg.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linansg.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linansg.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linansg.wordpress.com&amp;blog=696940&amp;post=1&amp;subd=linansg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linansg.wordpress.com/2007/01/18/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/441ade2ee37814680ffa5f35107d7b67?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nn</media:title>
		</media:content>
	</item>
	</channel>
</rss>
