On 07/16/2015 04:19 PM, Jim Meyering wrote:
   echo "$final_modules" | LC_ALL=C grep '^extensions$' >/dev/null \

why would we need LC_ALL here at all?  IMO this is sufficient:

    echo "$final_modules" | grep '^extensions$' >/dev/null \

btw: one could even completely avoid the "| grep" by letting
the shell do the matching:

  nl='
  '
  case "${nl}${final_modules}${nl}" in
    *"${nl}extensions${nl}"*) ...
  esac

Ugly but working. ;-)

Have a nice day,
Berny

Reply via email to