Good point John, As I pointed out in another thread its best to use the right tool for the job and in this case that is [ng]awk...
Alan G. (a HUGE Awk fan! :-) ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <tutor@python.org> Sent: Tuesday, January 11, 2005 9:07 PM Subject: Re: [Tutor] please help: conditional statement and printing element > Quoting kumar s <[EMAIL PROTECTED]>: > > > What to do: > > I want to print values that are 25 in column 1 and not > > the other values such as 24,22,21 etc. > > awk '$1 == 25' psl > > :-) > > -- > John. > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor