Answers for "shell insert variable line to file after match"

0

shell insert variable line to file after match

sed -i "/^start-of-match.*/a \fixed-string=$str_var" filepath
Posted by: Guest on April-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language