码迷,mamicode.com
首页 > 系统相关 > 详细

Gawk program on linux

时间:2016-09-18 23:53:21      阅读:279      评论:0      收藏:0      [点我收藏+]

标签:

refers to <Linux Command Line and Shell Scripting Bible>

date:Sep 18 2016

 

Gawk is to run scripts,So called program.It is programming-like environment.

 


first example:

技术分享


$0 represents the entire line of the text.

Each data field is determined in a text line by a field separation character.When gawk reads a line of text,it delineates each data field using the defined field separation character.The default field separation character in gawk is any whitespace character(such as the tab or space characters).

技术分享


 

Gawk program on linux

标签:

原文地址:http://www.cnblogs.com/rixiang/p/5883378.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!