Re: [9fans] updating awk ...
Sent from my iPad > On 29 Aug 2018, at 17:55, Kurt H Maier wrote: > >> On Wed, Aug 29, 2018 at 12:40:21AM -0400, Benjamin Purcell wrote: >> Spew here. I only made minimal changes to 9front awk to convert it to > > On the topic of awk, a while ago Paul A. Patience did some work to > the awk in Boyd's contrib, so people interested in a native awk have > options these days. Paul has moved on to other work, but I kept a copy > of his repo, which is available at http://code.9front.org/hg/awk/ > > khm >
Re: [9fans] updating awk ...
On Wed, Aug 29, 2018 at 12:40:21AM -0400, Benjamin Purcell wrote: > Spew here. I only made minimal changes to 9front awk to convert it to On the topic of awk, a while ago Paul A. Patience did some work to the awk in Boyd's contrib, so people interested in a native awk have options these days. Paul has moved on to other work, but I kept a copy of his repo, which is available at http://code.9front.org/hg/awk/ khm
Re: [9fans] updating awk ...
Spew here. I only made minimal changes to 9front awk to convert it to a native application (this allowed 9front to remove the regexp library that was duplicated in APE). Arnold: thanks for the information on the awk improvements. I will look at them and merge them into 9front when I have time. On Tue, Aug 28, 2018 at 3:31 AM wrote: > > Thanks for the info. > > I may pull the iso to take a look. > > In any case, for those using BWK's awk, it's worth pulling in the > latest set of changes, they're not huge. > > Thanks, > > Arnold > > hiro <23h...@gmail.com> wrote: > > > spew is a 9front user who wanted to improve awk. > > > > there is no separate hg location, branch, etc., awk is in the default > > branch of 9front. > > > > i don't know if he wasted a thought on unix while he was doing that, > > better ask him: he's on #cat-v on freenode regularly. > > > > the 9front distribution .iso contains the complete hg repo with all > > the history, so if you can run our awk, you also have the source and > > the history. > > his efforts started with the regexp library that used to require ape! > > the first related commits i found are: > > > > changeset: 5271:9bf761f83f7e > > branch: spew > > user:ben@rana > > date:Wed Apr 27 07:52:41 2016 -0500 > > summary: remove ape regexp library, add utility for awk native port > > > > changeset: 5269:cad63b966180 > > branch: spew > > parent: 5266:682b1efdef40 > > user:ben@rana > > date:Tue Apr 26 22:23:44 2016 -0500 > > summary: New libregexp and APE ported to native > > > > replying to list in case others want to understand, too. >
Re: [9fans] updating awk ...
Thanks for the info. I may pull the iso to take a look. In any case, for those using BWK's awk, it's worth pulling in the latest set of changes, they're not huge. Thanks, Arnold hiro <23h...@gmail.com> wrote: > spew is a 9front user who wanted to improve awk. > > there is no separate hg location, branch, etc., awk is in the default > branch of 9front. > > i don't know if he wasted a thought on unix while he was doing that, > better ask him: he's on #cat-v on freenode regularly. > > the 9front distribution .iso contains the complete hg repo with all > the history, so if you can run our awk, you also have the source and > the history. > his efforts started with the regexp library that used to require ape! > the first related commits i found are: > > changeset: 5271:9bf761f83f7e > branch: spew > user:ben@rana > date:Wed Apr 27 07:52:41 2016 -0500 > summary: remove ape regexp library, add utility for awk native port > > changeset: 5269:cad63b966180 > branch: spew > parent: 5266:682b1efdef40 > user:ben@rana > date:Tue Apr 26 22:23:44 2016 -0500 > summary: New libregexp and APE ported to native > > replying to list in case others want to understand, too.
Re: [9fans] updating awk ...
spew is a 9front user who wanted to improve awk. there is no separate hg location, branch, etc., awk is in the default branch of 9front. i don't know if he wasted a thought on unix while he was doing that, better ask him: he's on #cat-v on freenode regularly. the 9front distribution .iso contains the complete hg repo with all the history, so if you can run our awk, you also have the source and the history. his efforts started with the regexp library that used to require ape! the first related commits i found are: changeset: 5271:9bf761f83f7e branch: spew user:ben@rana date:Wed Apr 27 07:52:41 2016 -0500 summary: remove ape regexp library, add utility for awk native port changeset: 5269:cad63b966180 branch: spew parent: 5266:682b1efdef40 user:ben@rana date:Tue Apr 26 22:23:44 2016 -0500 summary: New libregexp and APE ported to native replying to list in case others want to understand, too.
Re: [9fans] updating awk ...
also check out spew's awk, it's native in 9front.
[9fans] updating awk ...
Hi. A few years ago Erik synced the Plan 9 awk with Brian Kernighan's. I have recently gotten BWK to fix some long-standing bugs. His code is updated and available at https://github.com/onetrueawk/awk. If "someone" wants to pull in his changes, now's a good time to do so. :-) Thanks, Arnold