Why doesn't Zsh assign a value to a variable and I have to use eval?

后端 未结 0 1184
盖世英雄少女心
盖世英雄少女心 2021-01-20 13:06

I don\'t understand this behavior in Zsh:

~ % i=0
~ % date_input=2021-01-01
~ % sqlday${i}=$(date -j -v+${i}d -f "%Y-%m-%d" "$date_input"          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题