tips:使用eval
例如:
#!/bin/bashnews=publish_timevar=news# 要获取到publish_timepublish_time=`eval echo '$'"$var"`echo $publish_time