Sed: Difference between revisions
From DWIKI
m (→FAQ) |
mNo edit summary |
||
Line 15: | Line 15: | ||
try tr instead: | try tr instead: | ||
tr -d '\n' < file | tr -d '\n' < file | ||
==Edit in-place== | |||
sed -i |
Revision as of 14:41, 18 September 2023
Stream Editor
Links
Tutorials
FAQ
match whitespace
\s
replace newline
try tr instead:
tr -d '\n' < file
Edit in-place
sed -i