当我运行model=$(cat /proc/device-tree/model)
-bash: warning: command substitution: ignored null byte in input
bash --version
GNU bash, version 4.4.12(1)-release (arm-unknown-linux-gnueabihf)
使用Bash版本4.3.30都可以,一切正常
我知道问题是文件中终止