DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
how to replace a text and delete other text using sed
$ sed -e "s/foo/bar/" -e "/FOO/d"
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#replace
#text
#delete
#text
#sed
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit