Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

two sed command together

sed -i -e "s/aaa/bbb/g" -e "s/sss/bbb/g" file
#-i update document
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #sed #command
ADD COMMENT
Topic
Name
6+9 =