应该如何固定command
变量以获得正确的行为?
#!/bin/bash
function f ( )
{
echo "$2"
}
command="f --option=\"One Two Three\" --another_option=\"Four Five Six\""
$command
f --option="One Two Three" --another_option="Four Five Six"
第一次调用是错误的,第二次是正确的
$> ./test.sh
Two
--another_option=Four Five Six