When I run below command, the "awk" changes my ip unexpectedly. I could not find how to fix this. Regards.
echo $ip
10.165.6.90
cat text.txt | grep STRING | awk -F'[. ="]' '{print '$ip' ";" $10 ";" $15}'
10.1650.60.9;163840000;X
10.1650.60.9;232525824;Y
10.1650.60.9;232526848;X
10.1650.60.9;232529920;Z
10.1650.60.9;232530944;T