Public bug reported:
The ipset autocomplete file that's in /usr/share/bash-
completion/completions/ misses a semicolon at the line 1006.
This causes the autocomplete to return a bash error "bash: syntax error:
unexpected end of file from `{' command on line 167" when you tab to
autocomplete.
like ipset sa[tab] will return:
ipset sa-bash: syntax error: unexpected end of file from `{' command on line 167
ve
The culprit line that's causing this error is:
grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")' }'
When it should be:
grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")'; }'
Adding the semicolon fixes the issue.
** Affects: ipset (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170454
Title:
Autocomplete issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipset/+bug/2170454/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs