In article <
20120124094...@c.gateway.2wire.net>,
Andy Spencer <
andy7...@gmail.com> wrote:
>I started writing a GNU Awk extension that provides an interfaces to the
>select(2) system call so that awk can read input from different sources
>without blocking forever.
>
>So far the interface I have is:
>
> select(how, timeout, fd, ..)
>
> how is one of: to, from, except, or any
> timeout is an optional timeout in seconds
Don't most selects support at least milliseconds?
> fd, .. is a list of strings representing file descriptors
This should be an array of strings, each of which represents an
open redirection. Maybe that's what you meant?
>I was wondering if anyone had any thoughts on this, and whether it might
>be possible to get this extension included in the GNU Awk distribution.
Getting something included is a matter of signing paperwork. Be in
touch with me offline.
Will try to take a look at them.
>Thanks
Sure,
Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com
P.O. Box 354 Home Phone:
+972 8 979-0381
Nof Ayalon Cell Phone:
+972 50 729-7545
D.N. Shimshon 99785 ISRAEL