Bash your way into handling string operations effectively.
https://itsfoss.com/bash-strings/
Bash Basics Series #6: Handling String Operations
In this chapter of the Bash Basics series, learn to perform various common string operations like extracting, replacing and deleting substrings.Abhishek Prakash (It's FOSS)
R. L. Dane :debian: :openbsd:
in reply to It's FOSS • • •I should learn more of the bash string substitution syntax. I've just recently added ${VAR-string} to my repertoire, and I've been bashing around for twenty years XD
I avoided the string substitution syntax because it is just FUGLY. But it's also pretty powerful and succinct, so a little goes a long way ;)