Is this line correct:

@UNLOCKED = grep(!/LOCKED/g, @SAME);

I want it to check each line of the array @SAME and print lines that DO
NOT contain the string "LOCKED" to the array @UNLOCKED.
I later output both arrays to different files:

print BOTH @SAME;
print oBOTH @UNLOCKED;

but when I list the output files they are identical:

-rw-r-----   1 jckenned jckenned   69961 Sep 14 10:15 both
-rw-r-----   1 jckenned jckenned   69961 Sep 14 10:15 both.open

jckenned: diff both both.open
jckenned: 

Thanks,
John

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to