I want to make a script in order to read from the parameter file(txt) that i wrote first, which contains some lines with this form
<query> <type>indri</type> <number>i</number> <text>Falkland petroleum exploration</text> </query>
.
Based on the number of number field(<number>i</number>) i want to run for example
/home/nikol123/indri-5.6/runquery/IndriRunQuery <parameter_file> (command written in terminal) for i=351 with parameter file which contain only
<parameters>
<index>/home/nikol123/indri-5.6/4collections</index>
<query> <type>indri</type> <number>351</number> <text>Falkland petroleum exploration</text> </query>
<fbDocs>10</fbDocs>
</parameters>
,namely ignore the other lines that are specified by different <number>i</number>