On 4/21/06, Ben Staniford <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I notice that fish uses the man pages to complete man help style
> completions.  But is there any reason that man pages to build command
> completions, rather than building completions manually?  Man pages seem
> to contain lots of things like OptDef that describe options that are
> possible for commands.

Man-pages are rather losely structured, while there are many
conventions, few of them are strictly followed by the individual
pages, making it a very difficult task to correctly parse the
structure of a man-page. That said, there is a project called
doclifter, that tries to do just that. It could probably be used as
the base for an automatic  completion-parser. You are more than
welcome to give it a try.

>
> Kind Regards,
>
> --
> Ben Staniford
> http://www.staniford.net


--
Axel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to