EXPLORE UNIXBITS

Unix Tools

Shell tools, interfaces, and small programs that reward closer examination.

Selected reading

The Development of the C Language ↗

C and Unix evolved together. Ritchie traces the progression from BCPL through B to C, explaining how early hardware constraints and the requirements of systems programming shaped the language.

The A–Z of Programming Languages: AWK ↗

One of AWK's creators, Alfred Aho, explains how the need for small data-processing programs led to a remarkably expressive language. Particularly interesting is the progression from pattern matching to AWK's pattern-action programming model.

GNU sed — A Stream Editor ↗

Sed illustrates the Unix idea of transforming data as it flows through a pipeline. Beyond simple substitutions, its pattern space and hold space provide a surprisingly capable model for scripted text transformations.

Pipelines — Bash Reference Manual ↗

The pipe character looks simple, but its execution semantics deserve attention. This reference explains how commands are connected, when subshells are involved and how pipeline exit status works.

Program Design in the UNIX Environment ↗

Rob Pike and Brian Kernighan's influential 1984 paper argues that a program's usefulness depends not just on its individual capabilities, but on how well it combines with other programs. Its criticism of unnecessary complexity remains relevant.

← Back to UnixBits