bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnulib PATCH]: new warning from ar on rawhide systems


From: Bernhard Voelker
Subject: Re: [gnulib PATCH]: new warning from ar on rawhide systems
Date: Thu, 16 Jul 2015 16:53:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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

[Prev in Thread] Current Thread [Next in Thread]