Quote fields when printing csv form for bulk results
UmanShahzad opened this issue · 0 comments
UmanShahzad commented
This returns really messed up CSV output because the fields aren't quoted:
$ printf "%s\n" 43.250.184.0 43.250.186.0 43.250.187.0 | ipinfo -f abuse
ip,abuse_address,abuse_country,abuse_country_name,abuse_email,abuse_name,abuse_network,abuse_phone
Flat C, 23/F, Lucky Plaza,, 315-321 Lockhart Road, Wan Chai, Hong Kong, Hongkong Hongkong 999999,HK,Hong Kong,abuse@clear-ddos.com,CLEARDDOS TECHNOLOGY CO LIMITED administrator,43.250.184.0/22,+1 5136205605
Flat C, 23/F, Lucky Plaza,, 315-321 Lockhart Road, Wan Chai, Hong Kong, Hongkong Hongkong 999999,HK,Hong Kong,abuse@clear-ddos.com,CLEARDDOS TECHNOLOGY CO LIMITED administrator,43.250.184.0/22,+1 5136205605
Flat C, 23/F, Lucky Plaza,, 315-321 Lockhart Road, Wan Chai, Hong Kong, Hongkong Hongkong 999999,HK,Hong Kong,abuse@clear-ddos.com,CLEARDDOS TECHNOLOGY CO LIMITED administrator,43.250.184.0/22,+1 5136205605