`complete -f` does not work at all.

2024-12-06 Thread Frederick Abell
From: fkabe...@hotmail.com To: bug-bash@gnu.org Subject: `complete -f` does not work at all. Configuration Information [Automatically generated, do not change]: ok, I did not change anything. Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -

Re: `complete -f` does not work at all.

2024-12-06 Thread Chet Ramey
On 12/6/24 12:12 AM, Frederick Abell wrote: Bash Version: 5.2 Patch Level: 37 Release Status: release Description:   `compete -f`/`complete -A file` do not work at all, whilst `complete -d`/`complete -A directory` work fine.   Someone from 2008 appears to have the same issue:    ht

Re: `complete -f` does not work at all.

2024-12-06 Thread Frederick Abell
Martin and Chet, Thank you both for the quick reply and clarification. I made an account and replied to the thread as per Martin's request. > `complete -f' is basically the same as readline's filename completion, > which includes directories in the list of possible completions because > filename

bash doesn't build with gcc 14.x

2024-12-06 Thread Yuri Kanivetsky
gcc 14.1.0 turned -Wimplicit-function-declaration into an error: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=55e94561e97ed0bce4774aa1c6b5d5d82209a379 https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=a1adce82c17577aeaaf6b9736ca8a1455d1164cb The bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi

Re: `complete -f` does not work at all.

2024-12-06 Thread Martin D Kealey
On Fri, 6 Dec 2024, 15:12 Frederick Abell, wrote: > Description: > `compete -f`/`complete -A file` do not work at all, whilst `complete > -d`/`complete -A directory` work fine. > > $ cat > a_dir/ b_dir/ c_file d_file > > # I was expecting to only see c_file and d_file. Firstly this seems to

Re: bash doesn't build with gcc 14.x

2024-12-06 Thread Yuri Kanivetsky
Meanwhile the workaround is: ./configure CFLAGS=-Wno-implicit-function-declaration && make