Hello,
I currently have this script :
awk 'BEGIN{OFS=",";} {print substr($4,2)}' my.log > log.txt
I simplified it since it would normally be :
awk 'BEGIN{OFS=",";} {print substr($4,2),$1,$6,$8}' my.log > log.txt
I would like to be able to convert an ip (the $4 field) 192.168.1.1 to its...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.