Try:
tail +LINENO file | head -1
It'll probably be faster.
-- Raju
>>>>> "Kingsly" == Kingsly John <[EMAIL PROTECTED]> writes:
Kingsly> On Wed, 7 Nov 2001, Shridhar Daithankar wrote: |11K line
Kingsly> is no big deal. I have run grep queries on 85MB cobol
Kingsly> source |dump in around 20sec when I was working on a
Kingsly> performance tuning |project. That was a Pentium 200 with
Kingsly> 32MB RAM.(OK I got the system |administrator off GNOME
Kingsly> first but that' a different story...)
Kingsly> It also depends on the file system ... and how fragmented
Kingsly> or unfragmented the file is... on a FAT partition the
Kingsly> file will always be fragmented.
Kingsly> while on ext2 if the partition has enough empty space it
Kingsly> may not be all that fragmented.(ofcourse the ext2 term is
Kingsly> non-contiguous ! :o)
Kingsly> Kingsly
--
Raju Mathur [EMAIL PROTECTED] http://kandalaya.org/
It is the mind that moves
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help