9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] updating awk ...
@ 2018-08-27 18:43 Arnold Robbins
  2018-08-27 21:13 ` hiro
  0 siblings, 1 reply; 7+ messages in thread
From: Arnold Robbins @ 2018-08-27 18:43 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-27 18:43 [9fans] updating awk Arnold Robbins
@ 2018-08-27 21:13 ` hiro
  2018-08-28  6:52   ` hiro
  0 siblings, 1 reply; 7+ messages in thread
From: hiro @ 2018-08-27 21:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

also check out spew's awk, it's native in 9front.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-27 21:13 ` hiro
@ 2018-08-28  6:52   ` hiro
  2018-08-28  7:18     ` arnold
  0 siblings, 1 reply; 7+ messages in thread
From: hiro @ 2018-08-28  6:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-28  6:52   ` hiro
@ 2018-08-28  7:18     ` arnold
  2018-08-29  4:40       ` Benjamin Purcell
  0 siblings, 1 reply; 7+ messages in thread
From: arnold @ 2018-08-28  7:18 UTC (permalink / raw)
  To: 9fans, 23hiro

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 <23hiro@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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-28  7:18     ` arnold
@ 2018-08-29  4:40       ` Benjamin Purcell
  2018-08-29 14:55         ` Kurt H Maier
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Purcell @ 2018-08-29  4:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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 <arnold@skeeve.com> 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 <23hiro@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.
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-29  4:40       ` Benjamin Purcell
@ 2018-08-29 14:55         ` Kurt H Maier
  2018-08-30  6:59           ` Pumba The Pig
  0 siblings, 1 reply; 7+ messages in thread
From: Kurt H Maier @ 2018-08-29 14:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] updating awk ...
  2018-08-29 14:55         ` Kurt H Maier
@ 2018-08-30  6:59           ` Pumba The Pig
  0 siblings, 0 replies; 7+ messages in thread
From: Pumba The Pig @ 2018-08-30  6:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs



Sent from my iPad

> On 29 Aug 2018, at 17:55, Kurt H Maier <khm@sciops.net> 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
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-30  6:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-27 18:43 [9fans] updating awk Arnold Robbins
2018-08-27 21:13 ` hiro
2018-08-28  6:52   ` hiro
2018-08-28  7:18     ` arnold
2018-08-29  4:40       ` Benjamin Purcell
2018-08-29 14:55         ` Kurt H Maier
2018-08-30  6:59           ` Pumba The Pig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).