Hi there.. I was wondering whether anyone can help me here..
I have ten files which is divided into two groups IN and OUT
the format of the files are
rraIN, rraOUT, rrkIN, rrkOUT, szrIN, szrOUT.....
where the first 3 letters are in a list in another file list.txt which lists
rra
rrk
szr
....etc etc
so basically what i need to do is..
for(each entry in list.txt)
{
if (IN file != OUT file)
{set $variable = 99}
}
# basically it needs to check whether both IN and OUT
# file are identical and if it doesnt set it to 99, run
# another script (success)
if ($variable !=99)
{
run another script
}
so what i need to know is whether the first part is possible or not, can anybody help me on this..?
TIA
JD
I have ten files which is divided into two groups IN and OUT
the format of the files are
rraIN, rraOUT, rrkIN, rrkOUT, szrIN, szrOUT.....
where the first 3 letters are in a list in another file list.txt which lists
rra
rrk
szr
....etc etc
so basically what i need to do is..
for(each entry in list.txt)
{
if (IN file != OUT file)
{set $variable = 99}
}
# basically it needs to check whether both IN and OUT
# file are identical and if it doesnt set it to 99, run
# another script (success)
if ($variable !=99)
{
run another script
}
so what i need to know is whether the first part is possible or not, can anybody help me on this..?
TIA
JD