simran wrote:
a way i can think of is:
* read first file and put keys in hash (%h) * read second file and add/delete from hash (%h) as needed * print keys of %h
On Tue, 2003-10-28 at 14:52, Andrew Gaffney wrote:
I have an array of keywords that I need to generate. I have 2 separate input files. The first one contains the defaults. The second input file contains additions and overrides. For example, first input:
key1 key2 key3 key4 key5 key6 key7
second input:
-key3 -key5 key8 key9
end result:
key1 key2 key4 key6 key7 key8 key9
What is the easiest/fastest way to do this?
-- Andrew Gaffney
-- Andrew Gaffney
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]