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 11:40, 4 October 2019

Stream Editor

Links

Tutorials


FAQ

match whitespace

\s

replace newline

try tr instead:

tr -d '\n' < file