ee=`find . -name 'testscripts' -print`
echo $ee
if [ -f $ee ]; then
echo "find"
fi
假如没有名为 testscripts的文件,为什么依旧可以打印出"find"?
linux bug?
echo $ee
if [ -f $ee ]; then
echo "find"
fi
假如没有名为 testscripts的文件,为什么依旧可以打印出"find"?
linux bug?
还是自己解决了...