How to make cat start a new line

前端 未结 6 563
情话喂你
情话喂你 2021-01-18 02:24

I have four files:

one_file.txt

abc | def

two_file.txt

ghi | jkl

three_file.txt

m         


        
6条回答
  •  后悔当初
    2021-01-18 03:01

    Try:

    awk 1 *file.txt > full_set.txt
    

    This is less efficient than a bare cat but will add an extra \n if missing at the end of each file

提交回复
热议问题