Answers for "bash replace multiple patterns"

1

bash replace multiple patterns

# Basic syntax:
sed 's/<pattern_1>/<replacement_1>/; s/<pattern_2>/<replacement_2>/' your_file
Posted by: Guest on July-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language