# The whois Expiration data should resemble the following: "Expiration Date: 09-may-2008"
# for .in, .info, .org domains
- if [ "${TLDTYPE}" == "in" -o "${TLDTYPE}" == "info" -o "${TLDTYPE}" == "org" ];
+ if [ "${TLDTYPE}" == "org" ];
+ then
+ DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Registry Expiry Date:/ { print $4 }' | cut -d':' -f2`
+ elif [ "${TLDTYPE}" == "in" -o "${TLDTYPE}" == "info" ];
then
DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Expiration Date:/ { print $2 }' | cut -d':' -f2`
elif [ "${TLDTYPE}" == "biz" ]; # for .biz domain