sed
-
Replacing content in a file or the output of a command:
sed 's/find/replace/' file
./some-output | sed 's/find/replace/'Add
-i
to edit the file in-place (or-i<suffix>
to make a backup before editing).(source)
Replacing content in a file or the output of a command:
sed 's/find/replace/' file
./some-output | sed 's/find/replace/'
Add -i
to edit the file in-place (or -i<suffix>
to make a backup before
editing).
(source)