columnwise analysis

2005-05-13 Thread Aditi Gupta
hi everybody, is it possible to search for a pattern in each column of a file. I've only seen pattern matching operations for a row.. please help!! thanks in advance aditi

Re: columnwise analysis

2005-05-13 Thread Edward WIJAYA
On Sat, 14 May 2005 14:12:37 +0800, Aditi Gupta <[EMAIL PROTECTED]> wrote: hi everybody, Hi, is it possible to search for a pattern in each column of a file. I've only This may not exactly what you want. But hopefully it can give you some ideas. The idea is to get all those column in to a has

Re: columnwise analysis

2005-05-14 Thread Xavier Noria
On May 14, 2005, at 8:12, Aditi Gupta wrote: hi everybody, is it possible to search for a pattern in each column of a file. I've only seen pattern matching operations for a row.. In the general case not directly. To emulate iteration per columns you'd need techniques that depend on the particul

Re: columnwise analysis

2005-05-14 Thread Aditi Gupta
hi Edward, thanks for the help.. but i didn't really understood the code.. please guide me what documentation should i read for columnwise analysis.. thanks again.. aditi On 5/14/05, Edward WIJAYA <[EMAIL PROTECTED]> wrote: > > On Sat, 14 May 2005 14:12:37 +0800, Ad

Re: columnwise analysis

2005-05-16 Thread Xavier Noria
On May 14, 2005, at 19:47, Aditi Gupta wrote: there are actuaaly no fields specified.. i have strings in each row (with intermittent hyphens) and i've to find which alphabet occurs how many times in each column and then perform reg exp operations.. but i've never dealt with such

Re: columnwise analysis

2005-05-16 Thread Aditi Gupta
t; > there are actuaaly no fields specified.. i have strings in each row > > (with intermittent hyphens) and i've to find which alphabet occurs > > how many times in each column and then perform reg exp operations.. > > but i've never dealt with such columnwise a

Re: columnwise analysis

2005-05-17 Thread Aditi Gupta
gt; > > how many times in each column and then perform reg exp operations.. > > > but i've never dealt with such columnwise analysis before and > > > haven't seen in books also so far.. which documentationshould i > > > refer for such problem.. > > >

Re: columnwise analysis

2005-05-17 Thread Xavier Noria
On May 18, 2005, at 7:55, Aditi Gupta wrote: is guess_alphabet a predefined function in the following code? my @counters = (); while (my $row = <$fh>) { my @cols = split /\s*-\s*/, $row; for (my $i = 0; $i < @cols; ++$i) { my $code = guess_alphabet($cols[$i]);