Page MenuHomeFreeBSD

xargs: yesexpr is no longer basic RE
ClosedPublic

Authored by yuripv on Dec 8 2020, 7:13 AM.

Details

Summary

PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238762

Comple RE using REG_EXTENDED as it's what yesexpr is nowadays.

Test Plan
$ export LANG=en_AU.UTF-8
$ locale -k yesexpr
yesexpr="^(([yY]([eE][sS])?)|([yY]))"
$ echo test | xargs -p echo
echo test?...y
test

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuripv requested review of this revision.Dec 8 2020, 7:13 AM
This revision is now accepted and ready to land.Dec 8 2020, 12:37 PM
This revision was automatically updated to reflect the committed changes.