deepagovind
Technical User
Hello all,
I have a text file that looks like this:
Today, tomorrow, perl,
\birds<7>, \animals<4>, awk, gawk
I wish to write it to a file in this manner
Today,
tomorrow,
perl,
\birds<7>,
\animals<4>,
awk,
gawk
I tried the following:
awk '{sub(" ", "\n", $0)}' space > newline.out
This did not work..
I greatly appreciate all inputs!!
Thanks!
I have a text file that looks like this:
Today, tomorrow, perl,
\birds<7>, \animals<4>, awk, gawk
I wish to write it to a file in this manner
Today,
tomorrow,
perl,
\birds<7>,
\animals<4>,
awk,
gawk
I tried the following:
awk '{sub(" ", "\n", $0)}' space > newline.out
This did not work..
I greatly appreciate all inputs!!
Thanks!