Skip to main content


Bash your way into handling string operations effectively.

https://itsfoss.com/bash-strings/

#bash #linux

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 ;)

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.