📅  最后修改于: 2022-03-11 14:50:26.146000             🧑  作者: Mango
# Finds a specific string with regex and appends content
# overiding existing file.
sed '/regex/a' | tee
# Example
sed '/\[task_concurrency\]/a 'execute=True'' carbon.cfg | tee carbon.cfg