Firstly I'm learning shell scripting and I came across this example in Classic Shell Scripting
dirpath=`eval echo '${'"$envvar"'}' 2>/dev/null | tr : ' ' `
And I immediately became perplexed as to how $envvar gets expanded in between the surrounding single quotes, until 20 minutes later i realized that there are two SETS of single quotes on both sides of the double quotes.
I keep making these type of silly errors. I absolutely love learning automation, but damn that made me feel stupid. 20 minutes.....