if [ -z "'ls -A $1'" ]
then
echo it is an empty directory
else
echo it is not an empty directory
fi


����

if[ "'ls -A $1'"="" ]
then
echo empty
else 
echo not empty
fi


��������写������谢谢��

--

�� ��源:��BBS 水木�华站 smth.org��[FROM: 219.224.155.*]