vendredi 3 avril 2015

Remove substring that occurs multiple times using awk

I need to remove all \t\t and all \n from my text file. Snippet of the text.



"\t\t\"password\": \"password\","+
"\t\t\"organization\": {\n"+
"\t\t\t\"name\": \"name\""+
"\t\t},"+
"\t\t\"title\": \"title\","+
"\t\t\"phone\": \"999999\","


Can anyone help me filter this text out?


My previous solution wasn't very elegant nor efficient, and very verbose.


Aucun commentaire:

Enregistrer un commentaire