Re: [Tutor] counting problem

2005-08-01 Thread Alan G
> What I want to do is quickly count the number of lines that share a > value in the 4th column and 5th (i.e. in this line I would count all > the line that have '9' and 'ZZZ'). Anyone got any ideas for the > quickest way to do this? The solution I have is really ugly. thanks, Pesonally I'd jus

Re: [Tutor] counting problem

2005-08-01 Thread Danny Yoo
On Mon, 1 Aug 2005, Kent Johnson wrote: > [EMAIL PROTECTED] wrote: > > hi, > > > > I have large txt file with lines like this: > > > > ['DDB0216437'] 116611749 ZZZ 100 > > > > What I want to do is quickly count the number of lines that share a > > value in the 4th column and 5

Re: [Tutor] counting problem

2005-08-01 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > hi, > > I have large txt file with lines like this: > > ['DDB0216437']116611749 ZZZ 100 > > What I want to do is quickly count the number of lines that share a value > in the 4th column and 5th (i.e. in this line I would count all the line > tha

[Tutor] counting problem

2005-08-01 Thread cgw501
hi, I have large txt file with lines like this: ['DDB0216437'] 116611749 ZZZ 100 What I want to do is quickly count the number of lines that share a value in the 4th column and 5th (i.e. in this line I would count all the line that have '9' and 'ZZZ'). Anyone got any ideas for t