Sed: Difference between revisions
From DWIKI
mNo edit summary |
m (→FAQ) |
||
Line 9: | Line 9: | ||
=FAQ= | =FAQ= | ||
==errror messages== | |||
===sed: -e expression #1, char 32: unknown command: `\'=== | |||
try | |||
's/... | |||
instead of | |||
'/... | |||
==match whitespace== | ==match whitespace== | ||
\s | \s |
Revision as of 15:44, 25 April 2024
Stream Editor
Links
Tutorials
FAQ
errror messages
sed: -e expression #1, char 32: unknown command: `\'
try
's/...
instead of
'/...
match whitespace
\s
replace newline
try tr instead:
tr -d '\n' < file
Edit in-place
sed -i