Welcome to Text-processing. This is where a textsmith thrives. We look at text manipulation, data collection, analysis, filtering, and regular expressions as key components in working as a textsmith.
Text-processing
The Unix View of Text: Files Are Streams, Not Pages
Many people learn the Unix slogan “everything is a file.” That’s true, but I almost think the more profound slogan is: “Everything is a stream waiting to be read or written.” This last of our three-part series on working with streams demonstrates why it is appropriate to adopt the stream mentality rather than the page mentality when working with files.
read moreText-processing
Thinking in Transformations: Why Textsmiths Love Search-and-Replace
One of the greatest changes that happens when someone becomes a textsmith is not learning a new command. It is learning a new way of thinking. This second of the three-part series on working with streams delves into the psychology of a textsmith.
read moreText-processing
Why It's Difficult to Operate Without a Stream Editor
This post is the first of the three-part series on stream editing: but what does it mean to work with streams? This is where understanding its key editor comes into play.
read moreText-processing
Before You Reach for sed: Master Bash Parameter Expansion
One of the habits that gradually changes a person’s shell scripting style is discovering that Bash can manipulate text on its own.
read moreText-processing
awk: The Secret Arsenal of a Textsmith
When everyone else sees a paragraph, AWK sees a database.
read more