History substitution fails when implemented in shell script
Output 09_03_2016
Output 09_03_2016
The question is about special variables. Documentation says:
I took a closer look on this phenomenon after I stumbled over it in two other questions today. I’ve tried all of this with the default set -H
(history expansion on).