trying to get gvim back in.
[feisty_meow.git] / scripts / core / functions.sh
index 72258731f964960b810796801498c43909b913a9..c4571b994a34096ae329b180c3f287e385904936 100644 (file)
@@ -21,7 +21,7 @@ if [ -z "$skip_all" ]; then
   # a handy little method that can be used for date strings.  it was getting
   # really tiresome how many different ways the script did the date formatting.
   function date_stringer() {
-    date +"%Y_%m_%e_%H%M_%S" | tr -d '/\n/'
+    date +"%Y_%m_%d_%H%M_%S" | tr -d '/\n/'
   }
   
   # makes a directory of the name specified and then tries to change the
@@ -53,13 +53,9 @@ if [ -z "$skip_all" ]; then
       \rm "$tmppid"
       local appropriate_pattern='s/^.*  *\([0-9][0-9]*\) *$/\1/p'
       for i in "${patterns[@]}"; do
-#echo "pattern $i seek" >>~/crap.txt
         PIDS_SOUGHT+=$(cat $PID_DUMP \
           | grep -i "$i" \
           | sed -n -e "$appropriate_pattern")
-#cp $PID_DUMP ~/crud
-#echo heres the dump after grep >>~/crap.txt
-#cat $PID_DUMP | grep -i "$i" >>~/crap.txt
         if [ ${#PIDS_SOUGHT[*]} -ne 0 ]; then
          # we want to bail as soon as we get matches, because on the same
          # platform, the same set of patterns should work to find all