On Sat, Sep 16, 2006 at 02:07:16PM +0200, Axel Liljencrantz wrote: > I seem to remember > that the grouping I described in my previous mail is rather common on > OS X and possibly also the BSDs.
i'll have to look for a real example. my hope is, that the multiple commands on one line will be alphabetical in order, and sorted into the list by their first command, so that when you parse the output, you still get all commands in alphabetical order, with exceptions only from commands further down the list. so that when the first letter of output starts with b, you can be sure that all commands with a have been processed already. > It would be possible to assume that apropos output is presorted and > without multiple keys on a single ine as i said above and in the previous mail i believe the multiple keys are not a problem at all. > You are welcome to rewrite the > __fish_describe_command function to take advantage of apropos output > being sorted on Linux systems __fish_describe_command itself already does things right, it is the code that calls it in complete_cmd_desc that would need to be changed to take advanted of the assumption of mostly alphabetical order. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- 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&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
