bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

Problems dealing with directories with leading "="

Open jidanni opened this issue 4 years ago • 1 comments
trafficstars

$ find -ls|grep ut
       47      0 drwxr-xr-x   2 jidanni  jidanni        60 11月 18 04:44 ./=Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb
       48    428 -rw-------   1 jidanni  jidanni    434373 11月 18 04:44 ./=Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb/nlKjmjIfljZcucGRmX=
$ ls =<TAB> #gives:
$ ls =\=Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb/ #but then
$ ls =\=Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb/<TAB> #just flashes the screen, and
$ ls =\=Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb/<RET> #fails:
ls: cannot access '==Xutf-8XBX57Wm6IG96Kyb6ICF55qEV2ViZXjkvb/': No such file or directory

Yes you could say "well just fix the application that is producing =Xutf-8 file names." But then some other application will produce =Xutf-9 filenames, or =Yutf-10, etc. Version: 1:2.11-5

jidanni avatar Nov 17 '21 21:11 jidanni

Nah, I wouldn't say that. This is a bash-completion bug and it would be great to have it fixed.

scop avatar Nov 17 '21 21:11 scop