<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>The Way To Great  - SHELL SCRIPT</title><link>http://blog.csdn.net/zinking3/category/313853.aspx</link><description>我也是早期的BAT程序员</description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 22 Apr 2008 12:01:01 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>zinking3</dc:creator><title>命令行的妙用</title><link>http://blog.csdn.net/zinking3/archive/2007/12/29/2003817.aspx</link><pubDate>Sat, 29 Dec 2007 23:08:00 GMT</pubDate><guid>http://blog.csdn.net/zinking3/archive/2007/12/29/2003817.aspx</guid><wfw:comment>http://blog.csdn.net/zinking3/comments/2003817.aspx</wfw:comment><comments>http://blog.csdn.net/zinking3/archive/2007/12/29/2003817.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zinking3/comments/commentRss/2003817.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2003817</trackback:ping><description>晚上看一个FTP上DOWN下来的网页文档，由于从FTP下来的文件名被加上上传者的ID了，于是我在原来的网页内部点击原来的URL时，URL失效了，阅读器来相当的不爽，怎么办呢？

问题就是要把文件名后面的ID部分去掉，不过有大概100个网页文件，怎样偷懒呢？

很自然的就想到了SHELL ，然而这次，稍稍动动脑子，想到其实连SHELL 都不必写，只要用一个命令就可以了，rename命令加上wildcard就可以了，因为这些网页的文件名很有规律，都一样长，于是我就用了一条命令就代替了原来的SHELL PROGRAMMING的计划
&lt;img src ="http://blog.csdn.net/zinking3/aggbug/2003817.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>zinking3</dc:creator><title>使用FreeGrab 抓ITPub 的電子書</title><link>http://blog.csdn.net/zinking3/archive/2007/12/12/1931998.aspx</link><pubDate>Wed, 12 Dec 2007 20:50:00 GMT</pubDate><guid>http://blog.csdn.net/zinking3/archive/2007/12/12/1931998.aspx</guid><wfw:comment>http://blog.csdn.net/zinking3/comments/1931998.aspx</wfw:comment><comments>http://blog.csdn.net/zinking3/archive/2007/12/12/1931998.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zinking3/comments/commentRss/1931998.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1931998</trackback:ping><description>

	转载这篇文章，其实我想讲的是LUA，这个非常有名的脚本语言，在这里，作者用它来模拟浏览器的行为，这在我们的日常生活中也是经常要碰到的，举个例子，一个页面上有个PDF要下载，夸张点被分割成了100份，你怎么办？一个一个点？当然不是，任何一个真正的程序员都会发挥它那懒惰而又爱动脑筋的品质，这里，LUA给了我们一个示范的解决方案，在以后的网络生活中碰到这样的问题，如何去解决。--------------------------------------------------------------------------------------导读： 　　喜歡抓電子書的人應該都知道 ITPub 這個網站，可是他的下在方式需要圖片驗證，而且檔案分割又多 　　如果能夠循序幫你抓檔該有多好 　　最近發現 FreeGrab 這套軟體，他是一套可透過撰寫 Lua 腳本來模擬瀏覽器得操作，因此我嘗試撰寫了抓取 ITPub 電子書的簡易 Lua 腳本，順便學習一下 Lua 語言。 　　首先要說明一下，我測試的 FreeGrab 版本為 1.2.3.3 Build 071025。以下是 ITPub&lt;img src ="http://blog.csdn.net/zinking3/aggbug/1931998.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>zinking3</dc:creator><title>统计出所有用户的连接数情况</title><link>http://blog.csdn.net/zinking3/archive/2007/09/04/1772356.aspx</link><pubDate>Tue, 04 Sep 2007 22:04:00 GMT</pubDate><guid>http://blog.csdn.net/zinking3/archive/2007/09/04/1772356.aspx</guid><wfw:comment>http://blog.csdn.net/zinking3/comments/1772356.aspx</wfw:comment><comments>http://blog.csdn.net/zinking3/archive/2007/09/04/1772356.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zinking3/comments/commentRss/1772356.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1772356</trackback:ping><description>本文补充前一篇的统计，至此再结合IPTALBE就可以完成对用户的限制策略了&lt;img src ="http://blog.csdn.net/zinking3/aggbug/1772356.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>zinking3</dc:creator><title>Squid 日志分析代码</title><link>http://blog.csdn.net/zinking3/archive/2007/09/04/1772344.aspx</link><pubDate>Tue, 04 Sep 2007 21:55:00 GMT</pubDate><guid>http://blog.csdn.net/zinking3/archive/2007/09/04/1772344.aspx</guid><wfw:comment>http://blog.csdn.net/zinking3/comments/1772344.aspx</wfw:comment><comments>http://blog.csdn.net/zinking3/archive/2007/09/04/1772344.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zinking3/comments/commentRss/1772344.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1772344</trackback:ping><description>本文讨论了在SQUID中如何对日志文件进行分析得出用户最常访问的站点&lt;img src ="http://blog.csdn.net/zinking3/aggbug/1772344.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>zinking3</dc:creator><title>ECLIPSE插件管理脚本</title><link>http://blog.csdn.net/zinking3/archive/2007/07/19/1699294.aspx</link><pubDate>Thu, 19 Jul 2007 19:47:00 GMT</pubDate><guid>http://blog.csdn.net/zinking3/archive/2007/07/19/1699294.aspx</guid><wfw:comment>http://blog.csdn.net/zinking3/comments/1699294.aspx</wfw:comment><comments>http://blog.csdn.net/zinking3/archive/2007/07/19/1699294.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zinking3/comments/commentRss/1699294.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1699294</trackback:ping><description>本文讨论了ECLIPSE插件管理的脚本代码和一种实现方式，希望对您有所启示&lt;img src ="http://blog.csdn.net/zinking3/aggbug/1699294.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>