Re: bash completion mangles file names with newlines

2022-02-23 Thread Ian! D. Allen
On Wed, Feb 23, 2022 at 03:37:12PM -0500, Chet Ramey wrote: > As others have noted, bash-completion is a separate package. > But we might be able to figure out where it's not being appropriately > quoted if you enable `set -x' before attempting the completion. At > least that would give you a backt

Re: bash completion mangles file names with newlines

2022-02-23 Thread Chet Ramey
On 2/23/22 11:34 AM, Ian! D. Allen wrote: > Bash Version: 5.0 > Patch Level: 17 > Release Status: release > > Description: > BASH completion cannot correctly handle file names containing newline > characters. As others have noted, bash-completion is a separate package. But we might be ab

Re: bash completion mangles file names with newlines

2022-02-23 Thread Kerin Millar
On Wed, 23 Feb 2022 11:34:52 -0500 "Ian! D. Allen" wrote: > # Now, load the completion scripts and watch it break: > bash-5.0$ source /usr/share/bash-completion/bash_completion Issues regarding completion scripts should be reported to their respective authors, such as https://github

Re: bash completion mangles file names with newlines

2022-02-23 Thread Alex fxmbsw7 Ratchev
besides not running newest bash On Wed, Feb 23, 2022, 17:36 Ian! D. Allen wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -O2 > -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protect

Re: bash completion mangles file names with newlines

2022-02-23 Thread Alex fxmbsw7 Ratchev
as far i know is the bash compl external and buggy i trash it since 2002 On Wed, Feb 23, 2022, 17:36 Ian! D. Allen wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -O2 > -fdebug-prefix-map=/bui