当前位置:网站首页>awk从入门到入土(0)awk概述
awk从入门到入土(0)awk概述
2022-07-03 02:13:00 【奇妙之二进制】

1、介绍
AWK是一种文本处理语言,这门语言在1977年诞生于贝尔实验室,距今已经历了40多年的发展。它支持POSIX标准,有几种符合标准的实现,在2020年居然仍然有着大量拥趸,无论是用于简单的文本处理任务还是用于处理“大数据”。
其名称来自其作者的名字缩写:Alfred Aho,Peter Weinberger和Brian Kernighan。AWK是核心的Unix工具,旨在做一件事:过滤和转换文本行。它通常用于解析日志文件中的字段,转换其他工具的输出以及计算单词和字段的出现次数。
由 GNU/Linux 发布的 AWK 版本通常被称之为 GNU AWK,由自由软件基金( Free Software Foundation, FSF)负责开发维护的。
各种AWK版本
当前使用的AWK有三个主要版本,并且它们都符合POSIX标准(至少对于绝大多数用例而言,足够接近)。第一个是经典awk,它是Aho,Weinberger和Kernighan在他们的《 AWK编程语言》一书中描述的AWK版本。有时称为“新AWK”(nawk)或“一个真正的AWK”,现在托管在GitHub上。这是许多基于BSD的系统(包括macOS)上预先安装的版本(尽管macOS随附的版本已过时,需要升级)。
第二个是GNU Awk(gawk),它是迄今为止功能最强大,维护最活跃的版本。Gawk通常预先安装在Linux系统上,并且通常是默
边栏推荐
- 微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題
- DML Foundation
- stm32F407-------ADC
- stm32F407-------DMA
- y54.第三章 Kubernetes从入门到精通 -- ingress(二七)
- leetcode961. Find the elements repeated N times in the array with length 2n
- How to deal with cache hot key in redis
- Kotlin middle process understanding and Practice (II)
- SPI mechanism
- 单词单词单词
猜你喜欢

What are MySQL locks and classifications

Asian Games countdown! AI target detection helps host the Asian Games!

Hard core observation 547 large neural network may be beginning to become aware?

微信小程序开发工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理问题
![[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)](/img/41/2413af283e8f1db5d20ea845527175.gif)
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)

Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现

What are the key points often asked in the redis interview

In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?

【Camera专题】OTP数据如何保存在自定义节点中
![[camera topic] how to save OTP data in user-defined nodes](/img/3e/b76c4d6ef9ab5f5b4326a3a8aa1c4f.png)
[camera topic] how to save OTP data in user-defined nodes
随机推荐
Technology sharing | Frida's powerful ability to realize hook functions
Modify table structure
Kotlin middle process understanding and Practice (I)
各国Web3现状与未来
Deep learning notes (constantly updating...)
使用Go语言实现try{}catch{}finally
Comment le chef de file gère - t - il l'équipe en cas d'épidémie? Contributions communautaires
单词单词单词
可视化yolov5格式数据集(labelme json文件)
Leetcode(540)——有序数组中的单一元素
How can retail enterprises open the second growth curve under the full link digital transformation
His experience in choosing a startup company or a big Internet company may give you some inspiration
Stm32f407 ------- IIC communication protocol
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
ByteDance data Lake integration practice based on Hudi
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
MySQL learning 03
What are the key points often asked in the redis interview
[camera topic] complete analysis of camera dtsi
浏览器是如何对页面进行渲染的呢?