Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed two patterns

sed 's/ab/~~/g; s/bc/ab/g; s/~~/bc/g'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #patterns
ADD COMMENT
Topic
Name
7+6 =