Article 548PX LXer: Join consecutive lines if condition applies

LXer: Join consecutive lines if condition applies

by
LXer
from LinuxQuestions.org on (#548PX)
Published at LXer:

How to use AWK, or the paste command + sed, to merge lines in a text file based on a condition, such as starting or not starting with a number. It's a handy fix for tables exported to text with embedded newlines.

Read More...latest?d=yIl2AUoC8zA latest?i=741HoKL4T4w:JcvdiIqPIE0:F7zBnMy latest?i=741HoKL4T4w:JcvdiIqPIE0:V_sGLiP latest?d=qj6IDK7rITs latest?i=741HoKL4T4w:JcvdiIqPIE0:gIN9vFw741HoKL4T4w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments