Joining two consecutive lines using awk or sed

前端 未结 7 1995
一生所求
一生所求 2020-12-14 17:54

How would I join two lines using awk or sed?

for e.g.:

I have data that looks like this:

abcd
joinabcd
efgh
joinefgh
ijkl
j         


        
7条回答
  •  攒了一身酷
    2020-12-14 18:18

    This is the answer to the question "How to make the count and the file appear on the same line" in the command:

    find . -type f -exec fgrep -ci "MySQL" {} \; -print
    

    Bryon Nicolson's answer produced the best result.

提交回复
热议问题