I have a text file like this:
http://ift.tt/2tcBQc2 lion,
www.google.com,"http google-pool,,
http://ift.tt/2ualT37 mexico canada,
I want to make every space a new line except the space in "HTTPS google-pool Is there a way I can do this without using the line number. Perhaps an if statement dependent on the " , or any other way?
I am using the tr command:tr " " "/n"
but I am unable to omit the desired line.
Aucun commentaire:
Enregistrer un commentaire