Sed: Difference between revisions

From DWIKI
mNo edit summary
Line 11: Line 11:
==match whitespace==
==match whitespace==
  \s
  \s
==replace newline==
try tr instead:
tr -d '\n' < file

Revision as of 12:40, 4 October 2019

Stream Editor

Links

Tutorials


FAQ

match whitespace

\s

replace newline

try tr instead:

tr -d '\n' < file