Date: Sat, 22 Jun 2019 12:46:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238762] xargs -p only works in the POSIX locale Message-ID: <bug-238762-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238762 Bug ID: 238762 Summary: xargs -p only works in the POSIX locale Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: delan@azabani.com # expected $ echo test | xargs -t echo echo test test $ echo test | xargs -p echo echo test?...y test # actual $ echo test | xargs -t echo echo test test $ echo test | xargs -p echo echo test?...y $ locale; locale -k yesexpr LANG=en_AU.UTF-8 LC_CTYPE="en_AU.UTF-8" LC_COLLATE="en_AU.UTF-8" LC_TIME="en_AU.UTF-8" LC_NUMERIC="en_AU.UTF-8" LC_MONETARY="en_AU.UTF-8" LC_MESSAGES="en_AU.UTF-8" LC_ALL= yesexpr="^(([yY]([eE][sS])?)|([yY]))" $ export LANG=POSIX $ locale; locale -k yesexpr LANG=POSIX LC_CTYPE="POSIX" LC_COLLATE="POSIX" LC_TIME="POSIX" LC_NUMERIC="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_ALL= yesexpr="^[yY]" $ echo test | xargs -p echo echo test?...y test -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238762-227>
