Archive for category Lessons
📅 July 8, 2019
In the previous lesson, we explored regular expressions to create a Bash one-liner to extract words from Thunderbird email subject lines.
While it worked well for a simple task, residue was not filtered, and this required manual editing.
Can we improve it further to handle inconsistencies and reduce the manual edits? Yes! This article demonstrates using sed and regular expressions to eliminate any manual editing.
📅 November 7, 2017
A variable allows us to store a value that can change during a script’s execution.
Its contents are variable — meaning it can change, and that is why it is called a variable.
Variables exist in memory, and we lose their contents when a computer is powered off or after the script is finished using it (often encountered during a concept called scope).
📅 August 18, 2017
📅 July 31, 2017
“An object? What’s that?”
📅 July 24, 2017
Scripts are intended to be lightweight and short in order to consume fewer system resources than full-fledged applications. This way, pages render faster in a web browser.
No matter how simple or fancy a script might be, we need to plan before writing any code.
📅 July 19, 2017
📅 July 14, 2017