Hi All,
I'm trying to write a ksh script to parse a file. When the "\" character is encountered, it should be removed and the next line should be concatenated with the current line. For example...
this is a test
line #1\
should be concatenated with line #2\
and line number 3
when this script is run
should yield....
this is a test
line #1 should be concatenated with line #2 and line number 3
when this script is run
I'm having trouble even getting sed to recognize the "\" character. Can anybody make a recommendation or point me in the right direction?