f ${i%l} ]; then
echo ${i%l} already exists
else
mv $i ${i%l}
fi
done
Substitution
Another ... # If directory name given as a script argument...
else
directory=$PWD # Otherwise use current worki... if the string is a long option without argument, else returns with code one.
An option must be of the ... ero if the string is a long option with argument, else returns with code one.
An option must be of the
ng" ]
then
echo "\$String is null."
else
echo "\$String is NOT null."
fi # $... ed.
then
echo "String \"string1\" is not null."
else
echo "String \"string1\" is null."
fi ... ed.
then
echo "String \"string1\" is not null."
else
echo "String \"string1\" is null."
fi ... ed.
then
echo "String \"string1\" is not null."
else
echo "String \"string1\" is null."
fi