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: [email protected]
Reporter: [email protected]
# 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"