当前位置:网站首页>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系统上,并且通常是默
边栏推荐
- What are MySQL locks and classifications
- 疫情當頭,作為Leader如何進行團隊的管理?| 社區征文
- A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?
- Socket programming
- COM and cn
- 2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
- Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
- Where is the future of test engineers? Confused to see
- Rockchip3399 start auto load driver
- easyExcel
猜你喜欢

Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt

Detailed introduction to the deployment and usage of the Nacos registry

Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)

PyTorch 卷积网络正则化 DropBlock

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

詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
![[shutter] pull the navigation bar sideways (drawer component | pageview component)](/img/6f/dfc9dae5f890125d0cebdb2a0f4638.gif)
[shutter] pull the navigation bar sideways (drawer component | pageview component)

【Camera专题】Camera dtsi 完全解析

Detailed analysis of micro service component sentinel (hystrix)

Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem
随机推荐
Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
Comment le chef de file gère - t - il l'équipe en cas d'épidémie? Contributions communautaires
Machine learning notes (constantly updating...)
Reprint some Qt development experience written by great Xia 6.5
easyPOI
Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem
Wechat applet Development Tool Post net:: Err Proxy Connexion Problèmes d'agent défectueux
Answers to ten questions about automated testing software testers must see
Cfdiv2 fixed point guessing- (interval answer two points)
通达OA 首页门户工作台
线程安全的单例模式
Return the only different value (de duplication)
詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
require.context
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
Rockchip3399 start auto load driver
The Sandbox阐释对元宇宙平台的愿景
深度学习笔记(持续更新中。。。)
5.文件操作