我想用脚本调用一个程序,然后在其输入内容中使用变量,怎么实现?#!\bin\shfor i in *; do program <<<$'1\n3\n$i\n';done这里进入program后要先输入1,再输入3,最后再输入希望引用的变量$i.