The Origin Story: How Grep and Grok Met

Grep and Grok met in the library, somewhere between the Unix command shelves and the shelves where meaning gets complicated.

Grep knew what to do with exact strings. Grok knew what to do with context.

At first, everything was easy. Grep found regular expressions. Grok found discourse analysis. Each book was exactly where it belonged.

Then they swapped.

That was harder. Grep looked at discourse and found no exact pattern to hold on to. Grok looked at regular expressions and found a forest of symbols that refused to turn into a scene.

So the books went back on the shelf and the conversation moved to coffee.

Grep asked: "How do you make sense of anything without exact matches?"

Grok asked: "How do you keep all those symbols in mind?"

That is where the friendship starts. Exactness has questions for meaning. Meaning has questions for exactness.

Grep and Grok shake hands in the first part of the origin story.
Grep and Grok walk through library shelves labelled with Unix commands, meaning, context, and discourse.

Part 2

The Library Stacks

The library has a shelf for exact commands and a shelf for meaning.

Grep reads Advanced Regular Expressions while Grok reads Discourse Analysis.

Part 3

Easy Reading

Each finds a book that makes immediate sense.

Grep and Grok frown after swapping books.

Part 4

Swapped Books

Then the books are swapped.

Grep and Grok put books back on a library shelf.

Part 5

Back on the Shelf

Some books belong back on the shelf for now.

Grep and Grok walk from a library to a coffee shop.

Part 6

To the Coffee Shop

The next part of the argument needs coffee.

Grep and Grok talk over coffee about exact matches and symbols.

Part 7

Exact Matches and Meaning

The friendship begins with two honest questions.