Re: Wildcard expansion can fail with nonprinting characters

2019-09-27 Thread Stephane Chazelas
2019-09-27 16:52:50 -0700, Geoff Kuenning: [...] > $ mkdir /tmp/test$'\361'dir > $ touch /tmp/test�dir/foo > $ ls /tmp/test�dir/f* > /tmp/test?dir/foo > $ x=/tmp/test�dir > $ echo "$x" | cat -v > /tmp/testM-qdir > $ ls "$x"/f* > ls: cannot access '/tmp/test'$'\361''dir/f*': No such file or director

Wildcard expansion can fail with nonprinting characters

2019-09-27 Thread Geoff Kuenning
Version: GNU bash, version 4.4.23(1)-release (x86_64-suse-linux-gnu) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later Behavior: If a pathname contains nonprinting characters, and is expanded from a variable name,