Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
sed match newline
HyeonAh Lee
Programming language:
Shell/Bash
2021-05-09 07:39:08
0
Q:
sed match newline
Zeke Hernandez
Code:
Shell/Bash
2021-02-19 20:22:09
sed 's/\n/[replacement]/g' file #Use this command to replace newlines
0
Tags
new
newline
Related
sed print from match to end of file
sed add newline
sed print all lines except last
sed from match to end of file
sed replace first in file
sed replace word with newline
sed line
sed replace all until match in line
sed replace with newline
sed replace from match to end of line
sed replace from match
New to Communities?
Join the community