in reply to
sort large file
put the data in a database.
DBD::SQLite
is easy to use and quick. If you just want to sort the file once use
sort -n file >newfile
. Or quick and dirty
perl -ne 'print if /^10/'
.
Boris
Comment on
Re: sort large file
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: sort large file
by
Murcia
(Monk)
on Apr 01, 2004 at 09:26 UTC
I will try "sort -n file > out" I need all ids! not only 10! ;-)
[reply]
Re: Re: Re: sort large file
by
borisz
(Canon)
on Apr 01, 2004 at 10:55 UTC
I understand it in the way, that you are interested in only one id at a time. 10 was only a simple example.
Boris
[reply]
In Section
Seekers of Perl Wisdom