merge 2 or more files together without creating new file
- From: mmlkkl6768@xxxxxxxxx (Slow_leaner)
- Date: Fri, 31 Oct 2008 10:27:32 -0700 (PDT)
Hi,
Is there a way I can marge FILE2 into FILE1 or reverse together
without creating a new merge file. I am not sure there are a better
way to do it. If you give me some hint or help, i would appreciate
it.
thx.
Here is my code.
#!/bin/usr/perl
open(FILE1, /usr/test1.txt);
@temp =<FILE1>;
close (FILE1);
open(FILE2, /usr/test2.txt);
@temp =<FILE2>;
close (FILE2);
.
- Follow-Ups:
- Re: merge 2 or more files together without creating new file
- From: "Mr. Shawn H. Corey"
- Re: merge 2 or more files together without creating new file
- Prev by Date: out of memory
- Next by Date: Why doesn't this work: perl -e "@s=([1,2],[3,4]); print $s[0][0];"
- Previous by thread: out of memory
- Next by thread: Re: merge 2 or more files together without creating new file
- Index(es):