This is related to a question i asked in overflow, It remains unanswered so i though I'd try asking it in segments
My objective is to return the special \n function, If i were to run
echo -e "My name is \nnick rock and i \nlive by the sea shore." > file
Then when i cat that file you get something like this
My name is
nick rock and i
live by the sea shore.
What I'm looking to do is reverse the \n return function, so when i echo the file with something like this
echo -aoE '([a-zA-Z]){1,5}' file
output
My
name
is
nick
rock
and
i
live
by
the
sea
shore.
I'll get this instead
My name is nick rock and i live by the sea shore
$IFS
(usually space,newline,tab) by one space character. – danzel May 29 '18 at 11:26