For anyone else who's hit this, the page has now moved to 
http://www.clock.co.uk/blog/bash-completion-problems-with-option-lists-generated-by-php
 it's also still available in Google's cache here:
http://webcache.googleusercontent.com/search?q=cache:n-AfIM1nmMYJ:http://clock.co.uk/blog/bash-completion-problems-with-option-lists-generated-by-php%2Bbash+completion+problems+with+option+lists+generated+by+php&rls=com.microsoft:en-gb:IE-SearchBox&oe=&gfe_rd=cr&gws_rd=cr&hl=en&ct=clnk

And the key info (in case it vanishes again) is:
                targets=`echo ""| maiden -b | sort -u`
                COMPREPLY=( $(compgen -W "${targets}" -- ${cur}) )
                return 0

i.e. add echo "" | before your PHP script.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/514989

Title:
  PHP process output (?) that breaks bash completion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/514989/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to