当前位置:网站首页>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系统上,并且通常是默
边栏推荐
- 【Camera专题】手把手撸一份驱动 到 点亮Camera
- Deep learning notes (constantly updating...)
- Anna: Beibei, can you draw?
- 可视化yolov5格式数据集(labelme json文件)
- Startup mode and scope builder of collaboration in kotlin
- Leetcode(540)——有序数组中的单一元素
- Su Shimin: 25 principles of work and life
- [Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
- LabVIEW安装第三方VISA软件后NI VISA失效
- PyTorch 卷积网络正则化 DropBlock
猜你喜欢
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
通达OA 首页门户工作台
In the face of difficult SQL requirements, HQL is not afraid
Detailed introduction to the usage of Nacos configuration center
easyPOI
通达OA v12流程中心
详细些介绍如何通过MQTT协议和华为云物联网进行通信
技术大佬准备就绪,话题C位由你决定
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
What are MySQL locks and classifications
随机推荐
缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
Missing library while loading shared libraries: libisl so. 15: cannot open shared object file: No such file
When the epidemic comes, how to manage the team as a leader| Community essay solicitation
RestCloud ETL 跨库数据聚合运算
创建+注册 子应用_定义路由,全局路由与子路由
In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
线程安全的单例模式
Job object of collaboration in kotlin
【Camera专题】Camera dtsi 完全解析
Swift development learning
Method of removing webpage scroll bar and inner and outer margins
stm32F407-------DMA
Servlet中数据传到JSP页面使用el表达式${}无法显示问题
Coroutinecontext in kotlin
File class (check)
Cfdiv2 fixed point guessing- (interval answer two points)
Redis: simple use of redis
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
Redis:Redis的简单使用
Unrecognized SSL message, plaintext connection?