[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Groff] String editing?
From: |
Werner LEMBERG |
Subject: |
RE: [Groff] String editing? |
Date: |
Fri, 11 Feb 2000 22:16:29 GMT |
> My dream is to have possibility to write, for example
> .ds str \*[P:join ' ', reverse split / +/,$G::str]
> to reverse all words in the string str
> :)
>
> It is may be implemented in theory and I know how, but I'm afraid to
> make troff processor much much slower... OTOH you may not use it if
> it will be slow :)
May I suggest that you give this a new name, say, `.dsr' for `define
string with regexp' (or whatever name you find appropriate)? Then you
won't have this problem with traditional packages.
Werner
- RE: [Groff] String editing?, Konovalov, Vadim, 2000/02/11
- RE: [Groff] String editing?, Konovalov, Vadim, 2000/02/11
- RE: [Groff] String editing?, Konovalov, Vadim, 2000/02/11
- RE: [Groff] String editing?, Konovalov, Vadim, 2000/02/11
- RE: [Groff] String editing?,
Werner LEMBERG <=