The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Upgrade Guide: Oracle9i Release 2 RAC to Oracle RAC 10g Release 2 on Linux iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Release Note: Java for Mac OS X 10.4 Release 6 Release Notes iBot UNIX and Linux RSS News 0 12-23-2007 07:30 PM
Storage Solutions: Oracle and Symantec Certify Veritas Data - Data Storage Connection iBot UNIX and Linux RSS News 0 07-19-2007 09:40 PM
NoMachine NX 3.0.0 Release Announcement - DABCC.com (press release) iBot UNIX and Linux RSS News 0 06-24-2007 12:50 PM
AIX and Storage janet AIX 2 03-28-2006 06:35 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
Awk: Is it possible to release storage?

Hello,

Is it possible in awk to release storage that has been allocated?

I am reading two large similar text files and comparing them to create a delta. Each time I read a line from a file I store it in an array - one for each file. It is impossible to know in advance how far it may be necessary to backtrack up each file/array to re-establish correspondence, but once a new correspondence has been established all the old array elements are no longer needed. Can they be returned to the system to reallocate?

I am using gawk 3.1.5 from cygwin and running under Windows XP. (Please don't scream - I wish it was Unix, too!)
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-03-2008
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 2,999
look into awk's "delete"
Reply With Quote
  #3 (permalink)  
Old 01-04-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
Thank you.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0