I have a text file, I want to print every word (more than one character) on new line. If a word consist of a single character, it must be handled as part of the following word and printed with it on a new line. If it is in the middle between two words it must follow the second word. example:
Unix & Linux Stack Exchange is a question and answer site for users of Linux,
output
Unix
& Linux
Stack
Exchange
is
a question
and
answer
site
for
users
of
Linux