Arnold, I am not sure who I am addressing either :-) Just wanted to know where this gawk port was heading. The thing is that I use a slightly modified version of Plan 9's awk. In this version, I added all the math functions from C and replaced the random number generator by the Mersenne twister. As a comment, from my experience gawk is generally faster than Plan 9's awk, but I believe the latter is more reliable (it crashes less often than gawk). Please, let me (us) know about the future of awk in 9front.
2015-07-09 4:49 GMT-04:00 <[email protected]>: > Hi Hugo. I'm not sure who you're addressing. Jens did the port. > I maintain gawk. > > Removing bloat unfortunately isn't going to happen in the mainline > code base since there are backward compatibility issues. > > However, I'm happy to incorporate portability changes to make porting > to Plan 9 easier, if they're reasonable. > > HTH, > > Arnold > > Hugo Rivera <[email protected]> wrote: > >> Let me understand. Are you going to modify the current gawk version >> according to your needs (perhaps removing some of the bloat you >> mention)? or are you going to port gawk as it is? >> >> 2015-07-08 2:22 GMT-04:00 <[email protected]>: >> > Hugo Rivera <[email protected]> wrote: >> > >> >> Why do you want gawk on plan9? >> > >> > I appreciate knowing about portability issues. :-) >> > >> >> I use awk a lot (on plan9 and elsewhere) and I wonder what reasons do >> >> you have to use gawk over plan9's awk. >> > >> > Many features and extensions over standard awk. Different people will >> > assign different levels of value to said features and extensions. >> > A partial list: >> > >> > - The previously discussed dynamic plug-in facility >> > - And awk-level debugger >> > - A statement count profiler (and a pretty printer) >> > - True arrays of arrays >> > - Many more built-in functions and variables. In retrospect, some of these >> > are just bloat and I'd have been better off without them. >> > >> > Arnold >> > >> >> >> >> -- >> Hugo > -- Hugo
