How do you join two lines in awk?

How do you join two lines in awk?
Answer
awk – Join or merge lines on finding a pattern
  1. Join the lines following the pattern START with space as delimiter. …
  2. Join the lines following the pattern START with comma as delimiter. …
  3. Join the lines following the pattern START with comma as delimiter with also the pattern matching line.
 

Tìm kiếm

Back
Top