X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/5afed67228eca2a2943f06e33580e577b1f1409c..67aec5060149123dbc8590cfb898432c4bacdc63:/mr?ds=inline diff --git a/mr b/mr index bdf0c3c..0936341 100755 --- a/mr +++ b/mr @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =head1 NAME @@ -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