The Complete Guide to Regular Expressions: Unleashing the Power of Pattern MatchingRegular expressions, also known as regex or regexp, are essential tools for text processing and string manipulation across many programming languages. Mastering regular expressions unlocks new levels of efficiency and productivity in activities rangi...Aug 1, 2023 · 5 min readcodejunction.hashnode.dev
Taking User Input in Bash ScriptsBash scripts are often more useful when they can interact with users. Allowing input provides flexibility. This tutorial will show how to accept user input in bash scripts. We will cover: Command line arguments - Pass input via the command line Rea...Jul 30, 2023 · 5 min readcodejunction.hashnode.dev
Powerful Text Processing in Bash Using sed, awk, grep, and MoreProcessing text is an essential part of many bash scripts. Bash provides many handy commands and utilities for manipulating plain text that should be in every scripter's toolkit. This guide will demonstrate how to use text processing utilities like s...Jul 29, 2023 · 3 min readcodejunction.hashnode.dev
The Advantage of Using #!/usr/bin/env bash Over #!/bin/bashShebang lines at the top of bash scripts allow you to specify the interpreter path to use when executing the script. There are two common approaches - using #!/bin/bash or #!/usr/bin/env bash. The latter provides significant advantages in terms of po...Jul 28, 2023 · 3 min readcodejunction.hashnode.dev
Essential Commands for Vim and EmacsCore Vim Commands Vim's modal editing relies heavily on keyboard commands. Mastering movement, editing, and other shortcuts in Normal, Visual, and Insert modes is key to productivity. Normal Mode Navigation: hjkl - left, down, up, right movement gg...Jul 27, 2023 · 4 min readcodejunction.hashnode.dev