On Tue, May 29, 2012 at 8:34 AM, John E. Malmberg <wb8...@qsl.net> wrote: > > On this platform, file names with $ in them tend to show up as they have > special meaning. > > BASH-4.2$ echo *\$* > GNV$BASH.DSF GNV$BASH.EXE GNV$BASH.MAP GNV$SHELL.C_FIRST GNV$VERSION.C_FIRST > gnv$bash_startup.com gnv$main_wrapper gnv$vms_main_link.exe > > Regards, > -John >
Pathname expansion doesn't perform any escaping... this is a completely separate thing from the readline tab completion issue. touch 'foo bar' 'baz blah'; echo *\ * baz blah foo bar echo takes its arguments and concatenates them with spaces... using printf can show that they're properly escaped. touch 'foo bar' 'baz blah'; printf '<%s> ' *\ *; echo <baz blah> <foo bar>