X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/3907683a397d068d22d1a86ed416f8710092439e..3f9025befdcf51f306a1de453e0b7618c6caa3bd:/mr?ds=inline diff --git a/mr b/mr index bdf0c3c..22516a0 100755 --- a/mr +++ b/mr @@ -1325,11 +1325,12 @@ sub loadconfig { while (@lines) { $_=$nextline->(); + next if /^\s*\#/ || /^\s*$/; + if (! $trusted && /[[:cntrl:]]/) { $trusterror->("illegal control character"); } - next if /^\s*\#/ || /^\s*$/; if (/^\[([^\]]*)\]\s*$/) { $section=$1; @@ -2089,7 +2090,7 @@ help = SHOWMANFILE="man" ;; *) - SHOWMANFILE="man -l" + SHOWMANFILE="man" ;; esac if [ ! -e "$MR_PATH" ]; then