0℃
This article is mainly to share with you how to count total lines of a file, we may know many ways, such as commands "wc", "grep", "nl", etc...And I will also introduce another way which by using tcl language, maybe it seems a bit complex(because it's not a one-sentence way), but it's also a very simple way.
So first of all, I'd like to give out a conclusion, see following quote(pls feel free to give your comments if I missed anything):
The methods of counting a file's to...
Expect, Tcl阅读全文
2℃
本例是个shell内嵌tcl的程序,嘿嘿,很简单。大家不用看内容,看用法即可。
说白了就是一个Here Documents(代码中的EOD块)……很简单……详见:http://tldp.org/LDP/abs/html/here-docs.html
Code ViewCopyPrint
#!/bin/bash
# For downloading
# version 1.0: created on 2010-06-1 by Bob
#—————————————-
#tips: execute tcl in shell, by using EOD, chmod firstly, execute secondly
#—————————————-
# {{{down
function down()
{
local argv1=$1
cat ...
Linux, Programme, Sed, Tcl阅读全文











谢谢分享
赶紧学习一下,谢谢!
谢谢 希望能下
好東西! 下來試一下。
谢谢你,我的问题已经解决了,
评论啊,你太伟大了
感谢分享,不知道现在还能下载
谢谢博主分享!