Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Who are the authors of the awk command?


Asked by Keilani Glenn on Nov 29, 2021 FAQ



Here’s an introduction to some of its coolest features. The awk command was named using the initials of the three people who wrote the original version in 1977: Alfred Aho, Peter Weinberger, and Brian Kernighan. These three men were from the legendary AT&T Bell Laboratories Unix pantheon.
Additionally,
You can write awk scripts for complex operations or you can use awk from the command line. The name stands for Aho, Weinberger and Kernighan (yes, Brian Kernighan), the authors of the language, which was started in 1977, hence it shares the same Unix spirit as the other classic *nix utilities.
Moreover, Awk is a programming language allows for quick manipulation of structured data types and produces formatted output. The name is made by joining first letters of the authors name, Aho, Weinberger, and Kernighan. The awk command is commonly used to search and manipulate text.
And,
You can type your awk script in a file and specify that file using the -f option. Our file contains this script: Here we print the username and his home path from /etc/passwd, and surely the separator is specified with capital -F which is the colon.
In this manner,
RS –The record separator. AWK processes your data one record at a time. The record separator is the delimiter used to split the input data stream into records. By default, this is the newline character. So if you do not change it, a record is one line of the input file. NR – The current input record number.