Hello, I have an input that is unformatted text, such as below.
INPUT:
Hola. Me llamo Dav�d y soy de Andaluc�a. Mi color favorito es rojo. �Como te llamas? �Cu�l es tu color favorito?
I want to take each word and punctuation and place it on its own line, with a space in between each individual phrase, such as the desired output below.
OUTPUT:
Hola
.
Me
llamo
Dav�d
y
soy
de
Andaluc�a
.
Mi
color
favorito
es
rojo
.
�
Como
te
llamas
?
�
Cu�l
es
tu
color
favorito
?
Is there an
awk
one-liner that could achieve this result?
Thanks!