Post

Replies

Boosts

Views

Activity

Comment on macOS Sonoma broke grep (assertion fails)
I don't think there's anything unusual: % locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL="en_US.UTF-8" Note that the problem goes away if you specify a locale that does not support multibyte characters (i.e. where MB_CUR_MAX=1): printf '%s' 'a' | LANG=C grep -o 'b*'
Oct ’23