what is difference in `declare -r` and `readonly` in bash?

后端 未结 0 639
再見小時候
再見小時候 2021-02-12 00:20

In bash, what is the difference in declare -r and readonly?

$ declare -r a=\"a1\"
$ readonly b=\"b1\"

I\'m not sure w

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