我有以下
bash
STDIN='&0' if some-condition; then STDIN=some-filename fi run-command <${STDIN}
但是
&0: No such file or directory
类似地
STDOUT
我尝试过使用
eval
需要做什么才能使其发挥作用?
run-command $(eval "<${STDIN}")