<?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>NICA &#187; grep</title>
	<atom:link href="http://nicaliu.info/tag/grep/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicaliu.info</link>
	<description>【Nicholas, Nica &#38; Nix】接著是與 Nix 一起寫稿譯稿的日子 ~ 仍然繼續玩 Linux、OpenSource and Cloud....</description>
	<lastBuildDate>Sat, 17 Dec 2011 08:51:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enhanced Bash</title>
		<link>http://nicaliu.info/2009/02/03/1470/</link>
		<comments>http://nicaliu.info/2009/02/03/1470/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 03:33:09 +0000</pubDate>
		<dc:creator>Nica</dc:creator>
				<category><![CDATA[【技術手札】新聞]]></category>
		<category><![CDATA[Bash shell]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://nicaliu.info/?p=1470</guid>
		<description><![CDATA[譯者：Nica &#60; nicaliu at gmail dot com &#62;，如有版權問題，煩請來信告知。
我 Linux 的機器裝好的第一件事，就是去更新 .inputrc 與 .bashrc 檔，讓它支援 &#8220;Enhanced Bash&#8221;。這個改善動作乍看之下沒什麼，但其實它能夠大大增進我使用 shell 的效率。

啟用 &#8220;Enhanced Bash&#8221; 可達到的主要功能有：
1. 僅需部份輸入，即可輕鬆比對先前鍵入的指令。它的作法是，只要輕鬆輸入幾個命令開始字母，就會出現提示表單，以捲軸的方式顯示所有歷史指令。
2. 各終端畫面間共享歷史指令：當你關閉終端畫面後，並不會漏失指令的歷史紀錄。
3. 令 grep 以不同顏色顯示，凸顯相符的字。這很好用。
欲啟用此功能，請開啟你的 ~/.inputrc 檔，然後輸入這些：
# &#8212;&#8212;&#8211; Bind page up/down wih history search &#8212;&#8212;&#8212;
&#8220;\e[5~&#8221;: history-search-backward
&#8220;\e[6~&#8221;: history-search-forward
# &#8212;&#8212;&#8211; more sane command matching &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
#do not show hidden files in the list
set match-hidden-files off
#removes the annoying [...]]]></description>
		<wfw:commentRss>http://nicaliu.info/2009/02/03/1470/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

