<?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>评论：用shell升级15位身份证到18位</title>
	<atom:link href="http://blog.wgzhao.com/2009/08/20/15bit-id-card-upgrade-to-18bit-with-shell.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.wgzhao.com/2009/08/20/15bit-id-card-upgrade-to-18bit-with-shell.html</link>
	<description>关注Linux，系统管理，WEB开发以及开源世界</description>
	<lastBuildDate>Tue, 31 Aug 2010 05:22:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>由：mlsx</title>
		<link>http://blog.wgzhao.com/2009/08/20/15bit-id-card-upgrade-to-18bit-with-shell.html/comment-page-1#comment-16990</link>
		<dc:creator>mlsx</dc:creator>
		<pubDate>Thu, 20 Aug 2009 12:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://mlsx.xplore.cn/?p=1833#comment-16990</guid>
		<description>第11行 echo $oldcard &#124;egrep -q &quot;^[0-9]{15}$&quot;的egrep换成grep也许会好些，我最开始用grep不成功，原来{和}符号都需要转义(escaped)

echo $oldcard &#124;grep -q &quot;^[0-9]\{15\}$&quot;</description>
		<content:encoded><![CDATA[<p>第11行 echo $oldcard |egrep -q &#8220;^[0-9]{15}$&#8221;的egrep换成grep也许会好些，我最开始用grep不成功，原来{和}符号都需要转义(escaped)</p>
<p>echo $oldcard |grep -q &#8220;^[0-9]\{15\}$&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
