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...


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...