Permalink
Browse files

Case insensitivity should be set within functional scope

  • Loading branch information...
1 parent 296fd39 commit 46015283a42e6bc9aa867b8e8d010f10c8d60866 @bahamas10 committed May 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/mad
View
@@ -7,8 +7,6 @@ CONFIG=${0%/*}/../etc/mad.conf
MAD_CONFIG=${MAD_CONFIG:-$CONFIG}
PAGER=${PAGER:-less}
-shopt -s nocasematch
-
#
# List all <pages>
#
@@ -19,6 +17,8 @@ list_pages() {
local path_array=
IFS=: read -a path_array <<< "$paths"
+ shopt -s nocasematch
+
echo
printf " \033[1mmad pages:\033[0m\n"
echo

0 comments on commit 4601528

Please sign in to comment.