numerous minor changes to either use the sep function instead of old name of 'line...
[feisty_meow.git] / scripts / multimedia / maybe_zap_pic.sh
index 7fa7133b7f45b554d563e176f1386cf52e951814..9b2c667b662641ae470e46555dd1c1ec4d4ac9a1 100644 (file)
@@ -14,9 +14,9 @@ for i in "$@"; do
   eog "$file"
   # now ask the big question: to whack or not to whack?
   echo "whack this file? (y/N)"
-  read line
+  read inputtext
   # a few things mean yes here.
-  if [ "$line" == "y" -o "$line" == "Y" -o "$line" == "yes" ]; then
+  if [ "$inputtext" == "y" -o "$inputtext" == "Y" -o "$inputtext" == "yes" ]; then
     echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
     echo "$(date): deleting $file."
     perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl "$file"