From 5d05aedb7a37c567db9bdc7bc61012de9cdf3e1e Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 9 Oct 2016 19:09:55 -0400 Subject: [PATCH] cleaned out todos on things that were fixed. --- scripts/files/lesser.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/files/lesser.sh b/scripts/files/lesser.sh index 7d85ca57..346679b4 100644 --- a/scripts/files/lesser.sh +++ b/scripts/files/lesser.sh @@ -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 @@ -30,16 +28,11 @@ function lesser() # run the source highlighter first if needed. /bin/less -r "${@}" - -#hmmm, will we need to iterate on the input array to get this right? - -#hmmm: do we need to protect above from space hosings? -# 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 "${@}" - -- 2.34.1