added TMPDIR for shunit, got rid of some extra noise
[feisty_meow.git] / scripts / core / functions.sh
index 32fb378237063265ae69a7ad16b29092d5110356..db08274fadf8bb762d5bf9f6030c48fa5afa018b 100644 (file)
@@ -921,9 +921,10 @@ return 0
     fi
 
     local charnfile="$(mktemp $TMP/zz_charn.XXXXXX)"
+#hmmm: any way to do the below more nicely or reusably?
     find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \
         grep -i \
-"doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|zip" | \
+"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|xml\|zip" | \
         sed -e 's/^/"/' | sed -e 's/$/"/' | \
         xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh"
     # drop the temp file now that we're done.
@@ -937,8 +938,6 @@ return 0
   # keep_awake: sends a message to the screen from the background.
   function keep_awake()
   {
-    # blank line to get off previous command line before job prints.
-    echo
     # just starts the keep_awake process in the background.
     bash $FEISTY_MEOW_SCRIPTS/tty/keep_awake_process.sh &
       # this should leave the job running as %1 or a higher number if there