sed (utility)
sed is an Linux utility or command that can be used to replace string by another string.
Examples
Basic syntax
|
|
Troubleshooting
sed: 1: “something…”: invalid command code W
Try adding the
-e
argument explicitly and giving''
as argument to-i
:
|
|
sed: content: in-place editing only works for regular files
|
|