cat filename | tr "\n" "" > new_filename
echo "append line " >> new_filename
** by this command --> tr "\n" ""
It can remove newline.
Culture, IT, Trend, Travel , Experience korea travel & culture youtube: https://www.youtube.com/@kawadakr