Tweeted twitter.com/StackUnix/status/851854017965826049
2 Minor markup fixes. Spelling in title, and a few extra words there too.; edited tags
source | link

Bash Variable substutionvariable substitution of variable followed by underscore

The variable BUILDNUMBERBUILDNUMBER is set to value 230. I expect the 230_230_ to be printed for the command echo $BUILDNUMBER_echo $BUILDNUMBER_ but the output is empty as shown below.

# echo $BUILDNUMBER_

# echo $BUILDNUMBER
230

Bash Variable substution followed by underscore

The variable BUILDNUMBER is set to value 230. I expect the 230_ to be printed for the command echo $BUILDNUMBER_ but the output is empty as shown below.

# echo $BUILDNUMBER_

# echo $BUILDNUMBER
230

Bash variable substitution of variable followed by underscore

The variable BUILDNUMBER is set to value 230. I expect 230_ to be printed for the command echo $BUILDNUMBER_ but the output is empty as shown below.

# echo $BUILDNUMBER_

# echo $BUILDNUMBER
230
1
source | link

Bash Variable substution followed by underscore

The variable BUILDNUMBER is set to value 230. I expect the 230_ to be printed for the command echo $BUILDNUMBER_ but the output is empty as shown below.

# echo $BUILDNUMBER_

# echo $BUILDNUMBER
230