Back to Browse

Replace Newlines in a File Using sed

3.1K views
Dec 30, 2020
4:35

In this video, I show how sed can be used to replace newline characters in a file. Though sed is geared toward line-by-line replacement, there are a series of sed functions you can use to get it to load an entire file into the pattern space. This will enable you to replace occurrences of newlines.

Download

1 formats

Video Formats

360pmp45.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Replace Newlines in a File Using sed | NatokHD