2013-10-15 72 views

回答

0
if [[ "${VAR}" == [0-9][0-9]\.[0-9][0-9]\.[0-9][0-9][0-9][0-9] ]]; then 
    echo "Variable matches format dd.mm.yyyy" 
fi