Good point. A bit late here to be writing regexps, but I guess something like this:
tg-admin | sed -n '/Available commands:/,$s/ *\([^ ]*\).*/\1/p' | sed -n '2,$p' would get you the latest options. For the interested Bash users, that would mean putting in your .bashrc: complete -W "`tg-admin | sed -n '/Available commands:/,$s/ *\([^ ]*\).*/\1/p' | sed -n '2,$p'`" tg-admin We could also read the output of tg-admin dynamically, but here, it takes more than 5 seconds for "tg-admin" to spit out its usage string... that would make for an annoyingly slow autocomplete. Getting really off-topic here, but anybody knows why it is taking so long? Cheers, -- Yves-Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

