On Sat, Jun 16, 2007 at 12:55:57AM +0200, Axel Liljencrantz wrote:
> I'm afraid you're right. We've been trying to get the word boundary
> definition right in fish for a _long_ time, but there always pops up a
> new corner case. I kind of lost the energy to find the perfect
> definition some time ago. Hopefully I'll get it back some day. You're
> welcome to submit a patch!

how is the code around this structured?
is there some kind of tokenizer that parses the whole commandline and
breaks it into pieces?

or does it just operate on the whole string?

i suspect you have a tokenizer somewhere to figure out the individual
commandline arguments.

maybe the problem is not one of the right algorithm to figure out what
to delete, but rather one of structure, and you just need to split the
commanline into arguments before you apply the word-boundary detection.

i am saying this without haveing taken a look at the code, so if i am
talking nonsense, please ignore me.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   working in new zealand        open-steam.org|webhaven.co.nz
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/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to