John McKown wrote:
On Sun, 9 May 2004, John Doe wrote:
Hello all,
i trying to sort one my file that is 10 MB and contain
records:
---
aa
adsad
dasd
das
aa
---
i want to sort and eleminate double records.
I use:
$perl -0777ane '$, = "\n"; @[EMAIL PROTECTED] = (); print sort keys %uniq' \ out.log
B
John W. Krahn wrote:
John Doe wrote:
Hello all,
Hello,
i trying to sort one my file that is 10 MB and contain
records:
---
aa
adsad
dasd
das
aa
---
i want to sort and eleminate double records.
I use:
$perl -0777ane '$, = "\n"; @[EMAIL PROTECTED] = (); print sort keys %uniq' \ out.log
But i rec
On Sun, 9 May 2004, John Doe wrote:
> Hello all,
> i trying to sort one my file that is 10 MB and contain
> records:
> ---
> aa
> adsad
> dasd
> das
> aa
> ---
> i want to sort and eleminate double records.
> I use:
> $perl -0777ane '$, = "\n"; @[EMAIL PROTECTED] = (); print sort keys %uniq' \ out
John Doe wrote:
>
> Hello all,
Hello,
> i trying to sort one my file that is 10 MB and contain
> records:
> ---
> aa
> adsad
> dasd
> das
> aa
> ---
> i want to sort and eleminate double records.
> I use:
> $perl -0777ane '$, = "\n"; @[EMAIL PROTECTED] = (); print sort keys %uniq' \ out.log
>
>
Hello all,
i trying to sort one my file that is 10 MB and contain
records:
---
aa
adsad
dasd
das
aa
---
i want to sort and eleminate double records.
I use:
$perl -0777ane '$, = "\n"; @[EMAIL PROTECTED] = (); print sort keys %uniq' \ out.log
But i recive error: Out of memory!
Yeah, this is normal,
Susan Aurand wrote:
>
> What is the fastest or best way to sort a file alphabetically, the
> rewrite it to a file.
>
you'll print this very fast anyway :)
sort file > temp_file;mv temp_file file
/Jon
> Thanks
> Susan
> Haywood County Schools
>
>
What is the fastest or best way to sort a file alphabetically, the
rewrite it to a file.
Thanks
Susan
Haywood County Schools
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]