第四行的错误在哪里?
if [ $bn == README ]; then
如果我把它写成
if [ $bn == README ]
then
或者
if [ "$bn" == "README" ]; then
语境:
for fi in /etc/uwsgi/apps-available/*
do
bn=`basename $fi .ini`
if [ $bn == "README" ]
then
echo "~ ***#*** ~"
else
echo "## Shortend for convience ##"
fi
done