removeRecord() { # RECORD=$( ${CMD_ECHO} "${RECORD}" | tr '/' "${DIRSEP:=!}" ) # RECORD=$( ${CMD_ECHO} "${RECORD}" | sed -e "s/\//${DIRSEP:=!}/g;s/ /_/g" ) RECORD="${RECORD//\//${DIRSEP:=!}}" RECORD="${RECORD// /_}" rm -f "${DD_DATABASE}${1}/${RECORD}" STATUS="${?}" return ${STATUS} }