摘要: awk是一个操作处理文本文件的强大工具,尤其是处理记录型的文本,也就是每行文本包含多个用分隔符分隔的域。甚至在没有输入文本的情况下也可以做一些逻辑处理。在接下来的示例中,我们会多次用以下的文档作为操作的对象:employee.txt is a comma delimited file that contains 5 employeerecords in the following format:employee-number,employee-name,employee-titleCreate the file:$ vi employee.txt101,John Doe,CEO102,Jaso 阅读全文
posted @ 2013-06-05 11:31 风*依旧 阅读(332) 评论(0) 推荐(0) 编辑