clearcache has asked for the wisdom of the Perl Monks concerning the following question:
open(OUT,">outfile") || die; for($i=0;$i<=$#bigfile;$i++){ $bigfile[$i] =~ s/\0/ /g; print OUT "$bigfile[$i]"; } close(OUT); print "Compressing original file\n"; system("compress original.file"); print "Concatenating other data\n"; system("cat ./incoming/data.file ./static/data.file >> outfile"); print "Sorting Data File\n"; system("asort outfile clean.data 1 6 8 9"); print "Done.\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: large file issue?
by Shendal (Hermit) on Oct 25, 2000 at 22:06 UTC | |
by merlyn (Sage) on Oct 26, 2000 at 01:45 UTC | |
by clearcache (Beadle) on Oct 25, 2000 at 22:13 UTC | |
by amelinda (Friar) on Oct 26, 2000 at 00:56 UTC | |
by Fastolfe (Vicar) on Oct 26, 2000 at 01:06 UTC | |
by and (Pilgrim) on Oct 26, 2000 at 04:09 UTC | |
| |
|
RE: large file issue?
by clearcache (Beadle) on Oct 26, 2000 at 01:12 UTC | |
|
Re: large file issue?
by jynx (Priest) on Oct 27, 2000 at 05:10 UTC |