bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk using shared memory


From: Aharon Robbins
Subject: Re: [bug-gawk] gawk using shared memory
Date: Tue, 08 May 2012 22:03:44 +0300
User-agent: Heirloom mailx 12.4 7/29/08

Hello.

> Date: Tue, 8 May 2012 11:11:52 -0500
> From: Peng Yu <address@hidden>
> To: address@hidden
> Subject: [bug-gawk] gawk using shared memory
>
> Hi,
>
> I'm wondering if there is a way to let gawk use shared memory. I have
> an awk script that needs to load the same big chunk of data first
> before gawk can do anything. If I can get it load into shared memory
> (can be checked by ipcs), then I don't have to load the data each time
> I run gawk. I suspect that there might not be such an way based on
> some google search. But I'd like to double check to make sure.
>
> -- 
> Regards,
> Peng

Sorry, there is no way to do this. You could write a small program
to read the shared mem and send it to file, have gawk process it, and
then write the result back to the shared memory.

You might could write an extension function to do this. It would be
an interesting thing to have.

Thanks,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]