Skip to content

Commit 48feced

Browse files
committed
A couple of fixes:
* notably the version of Rocky Linux OS has been removed (8.8) and replaced with "all recent versions of Rocky Linux" * minor quick scan and reword of a few passive voice phrases
1 parent 4cfe925 commit 48feced

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/books/sed_awk_grep/4_awk_command.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ The name comes from the first letters of the last names of three famous people:
1818
Similar to shell (bash, csh, zsh, and ksh), `awk` has derivatives with the development of history:
1919

2020
* `awk`: Born in 1977 Bell Labs.
21-
* `nawk` (new awk): It was born in 1985 and is an updated and enhanced version of `awk`. It was widely used with Unix System V Release 3.1 (1987). The old version of `awk` is called `oawk` (old awk).
22-
* `gawk` (GNU awk): It was written by Paul Rubin in 1986. The GNU Project was born in 1984.
23-
* `mawk`: was written in 1996 by Mike Brennan, the interpreter of the awk programming language.
21+
* `nawk` (new awk): Created in 1985 and is an updated and enhanced version of `awk`. It was widely used with Unix System V Release 3.1 (1987). `oawk` refers to old versions of `awk`.
22+
* `gawk` (GNU awk): Written by Paul Rubin in 1986. The GNU Project came to life in 1984.
23+
* `mawk`: Written in 1996 by Mike Brennan, the interpreter of the `awk` programming language.
2424
* `jawk`: Implementation of `awk` in JAVA
2525

26-
In the GNU/Linux operating system, the usual `awk` refers to `gawk`. However, some distributions, such as Ubuntu or Debian, use `mawk` as their default `awk`.
26+
In the GNU/Linux operating system, the usual `awk` refers to `gawk`. However, some distributions, such as Ubuntu or Debian, use `mawk` as their default `awk`.
2727

28-
In the Rocky Linux 8.8, `awk` refers to `gawk`.
28+
In all recent versions of Rocky Linux, `awk` refers to `gawk`.
2929

3030
```bash
3131
Shell > whereis awk
@@ -1035,7 +1035,7 @@ ID Name
10351035
10361036
The basic syntax format is - `while (condition) statement`
10371037
1038-
Traverse and print out the fields of all row records.
1038+
Traverse and print the fields of all row records.
10391039
10401040
```bash
10411041
Shell > tail -n 2 /etc/services
@@ -1067,7 +1067,7 @@ ID Name
10671067
10681068
The basic syntax format is - `for (expr1; expr2; expr3) statement`
10691069
1070-
Traverse and print out the fields of all row records.
1070+
Traverse and print the fields of all row records.
10711071
10721072
```bash
10731073
Shell > tail -n 2 /etc/services | awk '{ \

0 commit comments

Comments
 (0)