I have the following data, and I need to put it all into one line.
I have this:
22791 ; 14336 ; 22821 ; 34653 ; 21491 ; 25522 ; 33238 ; >
use
head -n 1 filename | od -c
to figure WHAT is the offending character. then use
tr -d '\n'
for LF
tr -d '\r\n'
for CRLF