当前位置:网站首页>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系统上,并且通常是默
边栏推荐
- [shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
- 苏世民:25条工作和生活原则
- [Yu Yue education] China Ocean University job search OMG reference
- [leetcode] 797 and 1189 (basis of graph theory)
- Reprint some Qt development experience written by great Xia 6.5
- Socket programming
- Kotlin middle process understanding and Practice (I)
- stm32F407-------DMA
- easyExcel
- 机器学习流程与方法
猜你喜欢

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

What are the key points often asked in the redis interview

Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt

4. 类和对象

Redis: simple use of redis

树形结构数据的处理

PyTorch 卷积网络正则化 DropBlock

In the face of difficult SQL requirements, HQL is not afraid

全链路数字化转型下,零售企业如何打开第二增长曲线

Detailed introduction to the deployment and usage of the Nacos registry
随机推荐
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)
[codeforces] cf1338a - Powered addition [binary]
深度学习笔记(持续更新中。。。)
stm32F407-------DMA
詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
y54.第三章 Kubernetes从入门到精通 -- ingress(二七)
Swift开发学习
《上市风云》荐书——唯勇气最可贵
Swift development learning
【Camera专题】手把手撸一份驱动 到 点亮Camera
What are MySQL locks and classifications
Distributed transaction solution
File class (check)
How do browsers render pages?
MySQL学习03
[leetcode] 797 and 1189 (basis of graph theory)
可視化yolov5格式數據集(labelme json文件)
Exception handling in kotlin process
Asian Games countdown! AI target detection helps host the Asian Games!
【Camera专题】Camera dtsi 完全解析