27 Closing Thoughts
27.1 Thinking Like a Textsmith
When this part began, we entered the Unix toolbox.
At first, it appeared to be a collection of small utilities.
A search program.
A stream editor.
A sorting command.
A shell.
Each seemed to solve only a narrow problem.
By the end of our journey, a different picture has emerged.
The Unix toolbox is not remarkable because of any single command.
Its strength lies in the habits of mind those commands encourage.
Throughout these chapters, every tool answered a different question.
Together, those questions form a philosophy of text processing.
| Question | Habit of Mind | Representative Tool |
|---|---|---|
| Where is it? | Discovery | grep, ripgrep |
| What pattern does it follow? | Recognition | Regular Expressions |
| How can I change it? | Transformation | sed |
| What can I learn from it? | Computation | awk |
| How can I organize it? | Organization | sort, uniq, cut, paste, join, comm |
| How can I combine it? | Composition | The Shell |
| How should I store it? | Structure | CSV, JSON, YAML, SQLite |
| Where is the knowledge? | Navigation | find, fd, Desktop Search |
| How can I repeat it? | Automation | Shell Scripts and Workflows |
Notice that the emphasis gradually shifts.
At first, we search individual lines.
Later, we search collections of files.
Eventually, we navigate entire libraries.
The scope expands from characters to knowledge itself.
This progression is no accident.
It reflects the growth of the textsmith.
A beginner often asks:
“Which command should I learn?”
An experienced textsmith asks:
“What question am I trying to answer?”
Once the question is understood, the appropriate tool usually reveals itself.
That is why this part has not attempted to catalogue every Unix utility ever written.
New tools will continue to appear.
Classic tools will continue to evolve.
Some commands will be modernized.
Others will quietly endure for decades.
Yet the philosophy remains unchanged.
The textsmith is not defined by the tools they use, but by the questions they know to ask.
A craftsperson who understands discovery, recognition, transformation, computation, organization, composition, structure, navigation, and automation will quickly master tomorrow’s tools, even those that have not yet been invented.
Technology changes.
Craftsmanship endures.
27.2 Looking Ahead
By this point in the primer, we have learned how to create plain text, structure it with markup, search it, transform it, analyse it, organize it, and automate it.
One important question remains.
How do we share it?
How does a single collection of plain text become a website, a printed book, an EPUB, a presentation, a journal article, or a PDF?
Those questions lead us naturally into the next part of The Textsmith Primer.
There we leave the forge and enter the publisher’s workshop, where carefully crafted text becomes finished works ready to meet their readers.