我只是在尝试下面的代码,但它不起作用..请建议更正此代码..
echo abc.txt | while read name; do find . -name $name; done
输出成功:./rak/abc.txt
echo 'abc.txt pqr.txt' | while read name; do find . -name $name; done
输出错误:查找:0652-009 缺少连词
echo "abc.txt pqr.txt" | while read name; do find . -name $name; done
输出错误:查找:0652-009 缺少连词
同样的错误
echo "abc.txt" "pqr.txt" | while read name; do find . -name $name; done
echo 'abc.txt' 'pqr.txt' | while read name; do find . -name $name; done
请建议如何解决这个问题...