MeaTLoTioN's Place · Mar 9, 2025
Bash Scripting Sunday #1: Bash Parameter Expansion - Save Time and Avoid Subshells
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Bash Scripting Sunday #1: Bash Parameter Expansion - Save Time and Avoid Subshells In this entry, I’d like to show you how to use Bash Parameter Expansion to make your life a little easier, your scripts a little quicker, and use less resources. Here’s an example script that isn’t using Bash Parameter Expansion: #!/usr/bin/env bash filename='/path/to/file.txt' echo 'Basename:…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.