What is the diference between text files?

Hello World! :slight_smile:

I did one shell script to read one txt file containing one phone numbers list and perform one search of numbers into a couple of log files.

When I use the file called "qq.txt" the script works correctly but using file called "MSISDN_Deactivation_Pending_Todos.txt" numers aren't processed.

I opened both files using vi editor and executed ":set list" to check for hiden characters but I can not see any unmormal character.

Kindly some one should tell me what is the difference between both archives ("qq.txt" & "MSISDN_Deactivation_Pending_Todos.txt")?

Thank you in advance

ORMA

can you post your code ( lines where your process the files)

Show us the script.

Hi.
Following the code:

rm -f salida.csv
echo "Subscriber, sbn_id" > salida.csv
while read line    
   do
     VALOR1=$(echo "$line"|cut -f1)
     echo $VALOR1
     more *..log | grep "RBT_ACT_FREE|D|" | grep $VALOR1 | awk -F"|" '{print $4,",",$6}' | uniq >> salida.csv
   done < $1