Mt Xia: Technical Consulting Group
Business Continuity / Disaster Recovery / High Availability Data Center Automation / Audit Response / Audit Compliance
getRecord() { putMessage "Retrieving data record..." RECORD="" CNT_ANS="0" IFS="${FIELDDELIM:=|}" set -- ${1} IFS="${IFS_NORM}" for FIELD in "${@}" do CNT_ANS="$(( ${CNT_ANS} + 1 ))" ANS[${CNT_ANS}]="${FIELD}" done putMessage return ${CNT_ANS} }