// guess the programming language of the day

$ whois awk

Awk

first released in 1977 · by Alfred Aho, Peter Weinberger, Brian Kernighan

$ guessprog --inspect awk

year
1977
paradigm
procedural
family
c like
memory
automatic gc
binding
dynamic
safety
weak

AWK(7)

AUTHORS
Alfred Aho, Peter Weinberger, Brian Kernighan
HISTORY
AWK was created in 1977 at Bell Labs by Alfred Aho, Peter Weinberger and Brian Kernighan, and its name comes from their initials. They wanted a small language for quick pattern-matching and reporting jobs on text files, the kind of task that would be tedious to write in C. A program is a list of patterns and actions that run against each input line, with fields split automatically into $1, $2 and so on. The three authors published "The AWK Programming Language" in 1988 and a second edition in 2023.
USAGE
Installed on virtually every Unix-like system and still widely used for one-liners and short scripts that slice log files, CSV data and command output. Few people write large programs in it, but many use it every day from the shell.
SEE ALSO
Awk on Wikipedia ↗
$ cat owners.awk
# Total bytes per file owner, from `ls -l` output
# usage: ls -l | awk -f owners.awk
NR > 1 { bytes[$3] += $5; files[$3]++ }

END {
    for (owner in bytes)
        printf "%-10s %5d files %12d bytes\n",
               owner, files[owner], bytes[owner]
}