On Fri, Mar 08, 2019 at 09:53:39AM -0500, Chet Ramey wrote: > On 3/7/19 9:42 AM, Dr. Werner Fink wrote: > > >> There is a slightly updated version of that patch attached to this message. > > > > OK ... the hidden directories do work now ... but in the test suite > > of sed the test case sed-4.7/testsuite/subst-mb-incomplete.sh with > > > > print_ver_ sed > > > > require_en_utf8_locale_ > > > > echo > in || framework_failure_ > > printf '\233\375\200\n' > exp-out || framework_failure_ > > > > LC_ALL=en_US.utf8 sed $(printf 's/^/\\L\233\375\\\200/') in > out 2> err > > > > compare exp-out out || fail=1 > > compare /dev/null err || fail=1 > > > > Exit $fail > > > > does fail (YaOB). > > I've attached an updated version of the patch. It will fix this. The glob > engine shouldn't return a dequoted version of the pattern unless it > matches something (and, based on historical behavior, maybe not even then). > > Ironically, we're about to start another discussion on the POSIX mailing > list about how backslashes in shell patterns should behave. It's always > fun to shoot at a moving target.
It works! Thanks a lot! Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature