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?