hey there.

i hope some can help here...

i know it's posible to loop and make it look throughout a file...

i need to look in the file test.txt

the test.txt has 200 lines, which i have defined in a variable like :
Code:
var %total.lines $lines(test.txt)


i now need to loop through the test.txt starting from line 1 and look through every line until i reach line 200.

line 1 : bla.bla
line 2 : he.he
line 3 : bleeeh.bleeeeh

etc etc...

then i need it to make a variable with the text from the line so i can match it.

something like:
Code:
 if (%x isin lol.look.at.him.he.he.sucks) { echo -a %x }

where %x is the text from the test.txt


hope its understandable smile

regards.

Last edited by explodedk; 21/02/11 07:54 PM.