indexing... in some way

2005-12-11 Thread Adriano Allora
hi to all, this question isn't exactly a cgi-question, but I need to solve this problem before writing the cgi interface. I've got a list of tagged files. I've listed all the couple word+tag. now, for each word+tag I want to write a file containing all the filename in which compare the

Re: indexing... in some way

2005-12-11 Thread Shawn Corey
Adriano Allora wrote: `sort tagged_files/* | uniq word+tag.txt`; ??? All files in tagged_files/* are unique. This looks like a lot of make work. Try File::Find instead. See `perldoc File::Find`. open(IDX, word+tag.txt); while(IDX) { next if /^\W.+/; open(TMP,