[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Exposing wcwidth(3) as a built-in function
From: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] Exposing wcwidth(3) as a built-in function |
Date: |
Tue, 28 Nov 2017 20:03:46 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Eric,
On Tue, Nov 28, 2017 at 02:33:20PM -0800, Eric Pruitt wrote:
> As far as I can tell, GAWK does not expose wcwidth(3) which surprises me
> since AWK specializes in processing text. I know I could implement this
> myself using an extension, but has exposing wcwidth(3) as a built-in
> function been considered in the past? If so, is there any particular
> reason it was rejected / not implemented?
I don't think the wcwidth function has ever been discussed in the past. I think
the current philosophy is generally to add new functionality in extensions
whenever possible, to avoid adding unnecessary complexity and maintenance
challenges to core gawk.
Regards,
Andy