<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[通过Linuxshell查给每个人发了多少条短信，sort uniq -c]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 23 Dec 2008 11:39:04 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	最近，手机费用暴涨，我得查查短信为何这么多，进入移动网站,得到一个短信清单如下：<br/><div class="code"><br/>短信费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;81.05<br/>彩信费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.80<br/>GPRS流量费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;273.33<br/>本地基本话费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.99<br/>国内长途费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28.03<br/>必选套餐费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20.00<br/>福娃音乐计划套餐费&nbsp;&nbsp;6.00<br/>费用合计&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 412.20　<br/>短信总记录数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1114&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>免费短信记录数&nbsp;&nbsp; 300<br/></div><br/>重点查短信：<br/>发送时间&nbsp;&nbsp;&nbsp;&nbsp;通信类型&nbsp;&nbsp;&nbsp;&nbsp;对方号码&nbsp;&nbsp;&nbsp;&nbsp;基本通话费<br/><br/><div class="code">11月01日00:00:33　&nbsp;&nbsp; 普通短信　&nbsp;&nbsp; 861377489428*　&nbsp;&nbsp; 0.00　<br/>11月01日00:01:16　&nbsp;&nbsp; 普通短信　&nbsp;&nbsp; 861358196226*　&nbsp;&nbsp; 0.00　<br/>11月01日00:04:53　&nbsp;&nbsp; 普通短信　&nbsp;&nbsp; 861377489428*　&nbsp;&nbsp; 0.00　<br/>11月01日00:08:03　&nbsp;&nbsp; 普通短信　&nbsp;&nbsp; 861386815989*　&nbsp;&nbsp; 0.00</div>通过editplus按住：alt+鼠标选取出号码，丢如Linux，通过命令：cat mobile.txt&#124;sort &gt; mobile_number<br/><div class="code">cat mobile.txt &#124;sort &#124;uniq -c　</div><br/>短信条数&nbsp;&nbsp;短信号码<br/><div class="code">65 861350110466*<br/>44 861365766558*<br/>94 861377489428*<br/>10 861381000687*<br/>239 861386815989*</div><br/>两个大头，共发短信552：<br/><br/><div class="code">&#91;xiangdong2@101/udp mobile&#93;$ cat sort_mobile_number.txt &amp;#124;grep 861358196226*&amp;#124;wc<br/>&nbsp;&nbsp;&nbsp;&nbsp;313&nbsp;&nbsp;&nbsp;&nbsp; 313&nbsp;&nbsp;&nbsp;&nbsp;4695&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这是**的<br/>&#91;xiangdong2@101/udp mobile&#93;$ cat sort_mobile_number.txt &amp;#124;grep 861386815989*&amp;#124;wc<br/>&nbsp;&nbsp;&nbsp;&nbsp;239&nbsp;&nbsp;&nbsp;&nbsp; 239&nbsp;&nbsp;&nbsp;&nbsp;3585&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这个是**点的</div><br/><br/>得到完美的结论。。。呵呵呵！<br/>去掉重复的QQ号码，（一个号码一行）：<br/><br/><div class="code">cat qqyellow.txt &#124;sort&#124;uniq -c</div>
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 通过Linuxshell查给每个人发了多少条短信，sort uniq -c]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>