#!/bin/bash STR=000 while : do echo -e '\uE${STR}' sleep 1 done
在shell脚本中,如何合并命令中的变量?我希望以上内容与以下内容相同:
echo -e '\uE000'
发布于 2013-12-03 02:44:56
使用双引号"
"
echo -e "\uE${STR}"
单引号'可防止参数扩展。
'
https://stackoverflow.com/questions/20335470
相似问题