Home Posts

Posts In #text-edit

Vim

by Alejandra López Espino | Mar 9 2024 · 3 min read
#bash #Linux #text-edit #command-line #tutorial

Overwiew Vim is a highly configurable text editor renowned for its efficiency and power. It’s built to enable efficient text editing, making it a popular choice for developers and system administrators. In this post, I put the commands that I use the most, but I also recommend this interactive Vim tutorial Open Vim To open vim, simply type the following in the command-line vim <path/to/file> where <path/to/file> can be the path of any text-based file.
Read More…

Text Processing with RegEx

by Alejandra López Espino | Mar 9 2024 · 6 min read
#regex #bash #Linux #text-edit #command-line #sed #awk #tutorial

Regular expressions (regex) are powerful string matching tools that use pattern-matching techniques for complex searching and manipulating. They occur across many programming languages, but also dominate command-line text-processing tools such as sed and awk in Unix-like systems. What are Regular Expressions? Regular expressions are a sequence of characters representing a search pattern. This pattern can be used within string searching algorithms to “find” or “find and …
Read More…