The are already sorted.  I just need the largest one which is the first one.

Mark Weaver wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 11 January 2003 08:56 pm, Jim C wrote:

I have a list of positive integers of which I only want the first one.
They are of arbitrary size. How can I cut the rest of them off?
I've been trying to write a regular expression for this using sed or awk.

without sorting them or anything why not just use a while loop with a counter?

Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IM23JuZ1geTzHgERAmKPAKDSouh+GrtkZTPj9o5CDvTG7tIEtgCgjOZk
buhxrkvmzeqXdrW7n0a8ACk=
=Mw7P
-----END PGP SIGNATURE-----




------------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to