Greetings elite shell hackers! I wrote this script to extract all the - and -- options of any program from its man page, and use them as possible words for completion. I saw the good work in /etc/bash_completion, and in zsh/.../Completion, and I thought you might be interested in this slant. It doesn't display the meanings of the options, but it does work in the general case, without human-defined rules. -- Joey [ who likes writing shellscripts: http://hwi.ath.cx/jsh ]