added a games category
[feisty_meow.git] / scripts / files / lesser.sh
index afcc562563198fe034eaa18bf2fba62411eed583..346679b4fec741fd48ede5e4131daa558db31685 100644 (file)
@@ -15,8 +15,6 @@ function lesser()
   if [ "$code_view_flag" == "-c" ]; then
     # saw the 'code' flag, which means show the file with source highlighting.
     shift
-#echo saw the code flag
-
   else
     # drop the value and emptiness will mean don't show code.
     unset code_view_flag
@@ -27,14 +25,14 @@ function lesser()
     export LESSOPEN="| source-highlight -f esc -o STDOUT -i %s"
   fi
 
-#hmmm, will we need to iterate on the input array to get this right?
 
   # run the source highlighter first if needed.
   /bin/less -r "${@}" 
-
-#hmmm: do we need to protect above from space hosings?
-#hmmm: done, maybe.  if this still works for multiple parms...
-
 }
 
+##############
+
+# now that we have our function, just use it on all the input parameters.
+# this is done to avoid adding yet another function to the core.
+lesser "${@}"