What are Character Encodings? Computers store everything as numbers. This includes text. But how do we … Understanding Character Encodings: UTF-8 vs. ISO-8859-1Read more
text-processing
Extracting Matched Patterns with Awk
Extracting Matched Patterns with Awk awk is a powerful text-processing tool commonly used in Unix-like operating … Extracting Matched Patterns with AwkRead more
Extracting and Printing Captured Groups with `sed` and Alternatives
Introduction In text processing, extracting specific patterns from strings is a common task. Tools like sed, … Extracting and Printing Captured Groups with `sed` and AlternativesRead more
Extracting Data Between Quotation Marks with Regular Expressions
Regular expressions (regex) are powerful tools for pattern matching within text. A common task is extracting … Extracting Data Between Quotation Marks with Regular ExpressionsRead more
Deleting Specific Lines from a Text File Using Python
Introduction Managing text files programmatically is a common task in software development, and Python provides several … Deleting Specific Lines from a Text File Using PythonRead more
Extracting Columns with Awk
Awk is a powerful text-processing tool commonly used in Unix-like systems for manipulating data within files … Extracting Columns with AwkRead more
Extracting Substrings in C#
In C#, extracting a substring from a larger string is a common task. This can be … Extracting Substrings in C#Read more
Printing a File with Line Skipping in Bash
In Bash, there are several ways to print a file while skipping a specified number of … Printing a File with Line Skipping in BashRead more
Using Shell Variables in Awk Scripts
Awk is a powerful scripting language used for processing and manipulating text data. One of its … Using Shell Variables in Awk ScriptsRead more
Removing Empty and Whitespace Lines from Text Files with Unix Tools
In this tutorial, we will explore how to efficiently remove empty lines and lines that consist … Removing Empty and Whitespace Lines from Text Files with Unix ToolsRead more