Lines & ListsLesson 362Free preview
Join Lines
This lesson is part of Web Developer Tools · All levels
Summary
Join Lines combine several lines into one line with a specific separator, such as a comma, spacetime, or semicolon. This tool is useful for converting vertical lists into the formats requested by other applications. It's important to define how to treat blank lines and make sure that mergers don't damage data structures like CSVs.
Key points
- Join combines the line using the selected delimiter
- The blank line can be passed or maintained as needed
- Joining the entire CSV line can break the record boundary
- The paste -sd command, combine the line with the comma
- Save the results to a new file so that the original list remains intact
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.