2017. 4. 26.

bash cat multiple files contents in to single line without newlines


cat filename | tr "\n" "" > new_filename
echo "append line " >> new_filename

** by this command -->  tr "\n" ""
    It can remove newline. 


댓글 없음:

댓글 쓰기