Search
 
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
Name
6+9 =