Hi All,
I have a linebreak in mid text \n and would like to remove this. I only want the \n at the end of the line.
Any suggetions on how I would get this to work?
I had:
But this didn't work, please can someone help?
I have a linebreak in mid text \n and would like to remove this. I only want the \n at the end of the line.
Any suggetions on how I would get this to work?
I had:
Code:
cat $LOGFILE| sed
'{
/\n\
/\n$\!
s\n\g
}'