Bash your way into handling string operations effectively.
https://itsfoss.com/bash-strings/
#bash #linux
Bash your way into handling string operations effectively.
https://itsfoss.com/bash-strings/
#bash #linux
nostr:npub17tdadn0j58jjrekysl4ley0nlzzge58w5nuw7knncr8mk4vacfkqz3apfk
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 ;)