From: Chris Koeritz Date: Sun, 9 Oct 2016 19:20:03 +0000 (-0400) Subject: cleaned up a bit and readied for general use X-Git-Tag: 2.140.90~375 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=0b9849deee6e9bb97f526ac6636f432882bd5d0e;p=feisty_meow.git cleaned up a bit and readied for general use --- diff --git a/scripts/files/lesser.sh b/scripts/files/lesser.sh index afcc5625..7d85ca57 100644 --- a/scripts/files/lesser.sh +++ b/scripts/files/lesser.sh @@ -27,14 +27,19 @@ 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, will we need to iterate on the input array to get this right? + #hmmm: do we need to protect above from space hosings? -#hmmm: done, maybe. if this still works for multiple parms... +# 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 "${@}" +