On Tue, 27 Jul 2021 15:26:31 +0200, Petr Pisar wrote: > It's a locale in sed: > > $ grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\+' /usr/include/libaudcore/plugin.h 2>/dev/null | LC_ALL=C.UTF-8 sed 's!.*_AUD_PLUGIN_VERSION[ ]*\([0-9]\+\).*!\1!' > 48 /* 3.8-devel */ > $ grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\+' /usr/include/libaudcore/plugin.h 2>/dev/null | LC_ALL=en_US.UTF-8 sed 's!.*_AUD_PLUGIN_VERSION[ ]*\([0-9]\+\).*!\1!' > 48 What has changed and where? Why does [0-9]+ cover more than the numerical part of the string? _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure