Re: Re: Suggestion: Adding fmt like linebreak algorithm
| From: | Dominik Roettsches | Date: | Thu, 27 Dec 2001 01:14:52 +0000 |
| Subject: | Re: Re: Suggestion: Adding fmt like linebreak algorithm | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75079@lists.php.net to get a copy of this message | ||
venaas@php.net (Stig Venaas) schrieb in
news:20011226201315.A11166@sverresborg.uninett.no:
> On Wed, Dec 26, 2001 at 01:10:47PM +0100, derick@php.net wrote:
>> On Wed, 26 Dec 2001, Markus Fischer wrote:
>>
>> > On Wed, Dec 26, 2001 at 02:22:02AM -0000, Dominik Roettsches wrote :
>> > > Another suggestion is to replace the wordwrap code by the
>> > > algorithm of Knuth.
>> >
>> > This would break BC and therefore isn't an option.
>>
>> Only changin the algorithm, but not touching the parameters will not
>> break BC IMO. It just outputs something different, but that isn't a
>> problem with wrapping lines IMO.
>
> I think it's okay if you just use the wordwrap part of fmt. I don't
> like the idea of wordwrap() doing the other stuff fmt does. Better add
> a new function then.
ACK. but who would do that, are there any volunteers? I could be of
assistance but I'm not skilled enough in C...
It would be nice if someone who's interested could help!
Thanks in advance,
Dominik