diff moefetch.sh @ 209:dbbc4759c285

more aesthetics fix
author edhoprima@gmail.com <edhoprima@gmail.com>
date Mon, 29 Jun 2009 17:15:12 +0000
parents 92505dfbb346
children 3983d230467d
line wrap: on
line diff
--- a/moefetch.sh	Mon Jun 29 17:13:50 2009 +0000
+++ b/moefetch.sh	Mon Jun 29 17:15:12 2009 +0000
@@ -194,7 +194,7 @@
 		fi
 		if [ "${ISTRASH}" ]; then
 			mv -f "${TRASH}" "${BASE_DIR}/trash/${TRASH_DIR}" || Err_Fatal "Error deleting files"
-			printf "\nMoved $(echo "${TRASH}" | sed -e "${SED_GET_FILENAME}") to ${BASE_DIR}/trash/${TRASH_DIR}\n${_last}"
+			printf "\bMoved $(echo "${TRASH}" | sed -e "${SED_GET_FILENAME}") to ${BASE_DIR}/trash/${TRASH_DIR}\n${_last}"
 		fi
 		Progress_Anim
 	done
@@ -212,13 +212,13 @@
 		for FILE in "${BASE_DIR}/${SITE_DIR}/${TARGET_DIR}/"*
 		do
 			if [ "$(echo "${FILE}" | sed -e "${SED_GET_FILENAME};${SED_IS_MD5_FILE}" | grep -v ^$)" ]; then
-				printf "\nNot a valid danbooru file: $(echo ${FILE} | sed -e "${SED_GET_FILENAME}")\n${_last}"
+				printf "\bNot a valid danbooru file: $(echo ${FILE} | sed -e "${SED_GET_FILENAME}")\n${_last}"
 			else
 				if [ "$(${MD5} "${FILE}" | cut -d ' ' -f1 -)" != "$(echo "${FILE}" | sed -e "${SED_GET_FILENAME}" | cut -d '.' -f1)" ]
 				then
 					echo "${FILE}" >> "${TEMP_PREFIX}-error"
 					echo
-					printf "\nError: $(echo "${FILE}" | sed -e "${SED_GET_FILENAME}")\n${_last}"
+					printf "\bError: $(echo "${FILE}" | sed -e "${SED_GET_FILENAME}")\n${_last}"
 				fi
 				Progress_Anim
 			fi