I have compared the auto-complete file in ubuntu 18.04 package with the one in debian package
and find the difference is only a semicolon :~/ipset/usr/share/bash-completion/completions# diff ipset /usr/share/bash-completion/completions/ipset 975c975 < eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | grep -v __ltrim_colon_completions | grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")' }' --- > eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | grep -v > __ltrim_colon_completions | grep -Ev "^_known_hosts_real.*$" | grep -Ev > "^(\{|\})")'; }' replace the file of debian version works wekk for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1828707 Title: ipset bash auto complete error on ubuntu 18.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ipset/+bug/1828707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs