当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: NF ------------------- The numbe
 

 

 ·正则表达式模式匹配    »显示摘要«
    摘要:关于正则表达式的一个问题首先明确一下什么是匹配 匹配可以从两个方面来理解 1 一个正则表达式和一个字符串是否匹配 在perl中 =~ 代表捆绑 也就是让正则表达式去匹配指定的字符串 如果如果用匹配的符号形式来表现 对于 /regular/ =~ "string" 如果返回值为真 则说/regular/ 匹配了"string" 2 一个正则表达式不只可以匹配一......
 ·shell基本工作原理    »显示摘要«
    摘要:linux系统提供给用户的最重要的系统程序是shell命令语言解释程序。它不属于内核部分,而是在核心之外,以用户态方式运行。其基本功能是解释并执行用户打入的各种命令,实现用户与linux核心的接口。系统初启后,核心为每个终端用户建立一个进程去执行shell解释程序。它的执行过程基本上按如下步骤: (1)读取用户由键盘输入的命令行。 (2)分析命令,以命令名作为文件名,并将其它参数改造为系统......


050913:awk中几个内置变量的man说明,感觉英文记得牢点。
nf ------------------- the number of fields in the current input record.

nr ------------------- the total number of input records seen so far. 【程序编程相关:引导加载程序之争:了解 LILO 和 G

【推荐阅读:Chrooting后台服务和系统程序指导

ofmt ------------------- the output format for numbers, "%.6g", by default. 【扩展信息:RPM卸载软件完全手册

ofs ------------------- the output field separator, a space by default.

nf ------------------- the number of fields in the current input record.

nr ------------------- the total number of input records seen so far.

ofmt ------------------- the output format for numbers, "%.6g", by default.

ofs ------------------- the output field separator, a space by default.

ors ------------------- the output record separator, by default a newline.

filename ------------------- the name of the current input file. if no files are speci-

fied on the command line, the value of filename is "-".


...   下一页
    摘要:   windows的“文件查找”功能主要用来查找文件或文件夹,实际上,我们还可以让它帮我做更多的事情!   快速清除垃圾文件平时笔者清除电脑中的垃圾文件,一般都是用优化大师来完成,其实这项工作我们完全可以利用“文件查找”功能来实现。   在windows 98桌面上或在打开的资源管理器窗口中按下f3键,启动“文件查找”功能,在“文件查找”对话窗口的名称栏内输入“.bak .??$ .??~......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE