var lineReader = require('readline').createInterface({
input: require('fs').createReadStream(tempCatalog+fileDEF)
});
lineReader.on('line', function (line) {
var list = line.split(';'), operator = list[4].replace(/['"«»]/g, '');
if( array.indexOf( operator ) == -1 && temp.indexOf( operator ) == -1 )
{
temp.push( operator );
}
});
async function processLineByLine() {
var array = await unloadExistOperator(), temp = Array();
const lineReader = require('readline').createInterface({
input: require('fs').createReadStream(tempCatalog+fileDEF)
});
for await (const line of lineReader) {
var list = line.split(';'), operator = list[4].replace(/['"«»]/g, '');
if( array.indexOf( operator ) == -1 && temp.indexOf( operator ) == -1 )
{
temp.push( operator );
console.log(list[4])
}
}
}