【发布时间】:2012-03-01 03:49:06
【问题描述】:
我在 bash 脚本中遇到嵌套引号问题
argv="su -c '$RVM_PATH wrapper $config_rvm \'$PASSENGER_RVM_BIN $command $options\'' web"
eval $argv
上面让我明白了
eval: line 162: unexpected EOF while looking for matching `''
eval: line 163: syntax error: unexpected end of file
【问题讨论】: