On 12/18/2015 12:52 PM, Jim Meyering wrote:
And here is the patch that will form the basis of a complete fix:
Thanks for looking into that; you beat me to it!POSIX says grep has undefined behavior when given an encoding error, and looping forever sure fills the bill :-).