I have a script that creates a file using the grep utility against a
"master" file.  The new file looks like the master file was copied over
and where the grep "failed" there is a blank line.  The grep line looks
like this:

@UNLOCKED = grep(!/LOCKED/g, "@SAME\n");
print oBOTH "@UNLOCKED\n";

with @SAME being the array containing the "read in" master file, oBOTH
is the output file.
How can I prevent the blank lines from the grep or how can I remove the
blank lines from @UNLOCKED?
Thanks,
John

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

Reply via email to