NetBSD-Users archive

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

Re: Bug in NetBSD grep ?



On Wed, 17 Aug 2022, Marc Baudoin wrote:

% echo $LANG
fr_FR.UTF-8
% echo 00:00: | grep -E '^([0]{2}[:-]){2}$'
% echo 00:00: | LANG=C grep -E '^([0]{2}[:-]){2}$'
00:00:

I don't understand how the locale can impact grep that much.
Should I open a PR?


Please do--so that it can at least be noticed.

-RVP


Home | Main Index | Thread Index | Old Index