From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Mon, 27 Apr 2009 17:40:43 -0700 Message-ID: <13426df10904271740x193e2987r86cd11ca840c2080@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [9fans] just in case anyone has written this Topicbox-Message-UUID: f38246a2-ead4-11e9-9d60-3106f5b1d025 before I write it. I need a command that concentrates one socket to many (outbound) and many to one (inbound) But it needs to do a bit more. On the inbound side, I need it to merge lines so that, e.g., a line from 11.1.1.1 and 11.1.1.2 if same, gets printed as 1-2: Mon may 8 2011 and if we have 11.1.1.1 and 11.1.1.2 and 11.1.1.4 and 11.1.1.5 you get 1-2,4-5: blah blah I have a sort of command like this, which I can adapt to Plan 9. If, however, someone already has this for Plan 9, it would save me time. For now I only need 64 hosts but at some point need 1024 (which my current command does) and eventually 262144. thanks ron