上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页
摘要: 简介awk是一个强大的文本分析工具,相对于grep的查找,sed的编辑,awk在其对数据分析并生成报告时,显得尤为强大。简单来说awk就是把文件逐行的读入,以空格为默认分隔符将每行切片,切开的部分再进行各种分析处理。awk有3个不同版本: awk、nawk和gawk,... 阅读全文
posted @ 2015-05-23 13:02 vigorpush 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 正则表达式基础在最简单的情况下,一个正则表达式看上去就是一个普通的查找串。例如,正则表达式"testing"中没有包含任何元字符,,它可以匹配"testing"和"123testing"等字符串,但是不能匹配"Testing"。要想真正的用好正则表达式,正确的理解元字... 阅读全文
posted @ 2015-05-23 12:14 vigorpush 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 一、linux中make的用法 目的: 基本掌握了make 的用法,能在Linux系统上编程。环境: Linux系统准备: 准备三个文件:file1.c, file2.c, file2.h file1.c: ... 阅读全文
posted @ 2015-05-19 14:25 vigorpush 阅读(2651) 评论(0) 推荐(0) 编辑
摘要: 无论是在linux还是在Unix环境中,make都是一个非常重要的编译命令。不管是自己进行项目开发还是安装应用软件,我们都经常要用到make或make install。利用make工具,我们可以将大型的开发项目分解成为多个更易于管理的模块,对于一个包括几百个源文件的... 阅读全文
posted @ 2015-05-19 13:58 vigorpush 阅读(1255) 评论(0) 推荐(0) 编辑
摘要: 下面的“clean”目标,是一个“伪目标”, clean: rm *.o temp 我们生成了许多文件编译文件,我们也应该提供一个清除它们的“目标”以备完整地重编译而用。 (以“make clean”来使用该目标) ,调用相应的规则,来... 阅读全文
posted @ 2015-05-15 04:05 vigorpush 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Typically, the syntax of these characters is as follows, using to redirect output.command1 > file1executes command1, placing the outp... 阅读全文
posted @ 2015-05-13 16:14 vigorpush 阅读(193) 评论(0) 推荐(0) 编辑
摘要: That part is written to stderr, use 2> to redirect it. For example:foo > stdout.txt 2> stderr.txtor if you want in same file:foo > all... 阅读全文
posted @ 2015-05-13 15:53 vigorpush 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 2>&1 # Redirects stderr to stdout. # Error messages get sent to same place as standard output. >>filename 2>&1 ... 阅读全文
posted @ 2015-05-13 15:51 vigorpush 阅读(121) 评论(0) 推荐(0) 编辑
摘要: here are three types of I/O, which each have their own identifier, called a file descriptor:standard input: 0standard output: 1standar... 阅读全文
posted @ 2015-05-13 15:38 vigorpush 阅读(116) 评论(0) 推荐(0) 编辑
摘要: sp vim -o file1 file2 纵向打开文件Ctrl+w Ctrl+v vim -O file1 file2 横向打开文件 阅读全文
posted @ 2015-05-12 04:46 vigorpush 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页