欢迎各位兄弟 发布技术文章
这里的技术是共享的
var=$(cat somefile.txt)
echo ${var}
来自 https://www.cnblogs.com/shenckicc/p/7150872.html