RE: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak algorithm
| From: | Sean R. Bright | Date: | Thu, 27 Dec 2001 04:32:22 +0000 |
| Subject: | RE: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak algorithm | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75082@lists.php.net to get a copy of this message | ||
I need to find a plaintext version of Knuth's paper, then maybe I could
help. I don't want to look at fmt's code.
Sean
> -----Original Message-----
> From: Dominik Roettsches [mailto:d-r@roettsches.de]
> Sent: Wednesday, December 26, 2001 8:15 PM
> To: php-dev@lists.php.net
> Subject: Re: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak
> algorithm
>
>
> 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
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>