Provided you can rely on gawk extensions, a coprocess [1] should help. [1] https://www.gnu.org/software/gawk/manual/gawk.html#Getline_002fCoprocess
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20121228161728.6e6c1611@debws