Created
May 1, 2019 14:00
-
-
Save epcim/e4708a7967e72401ff181fb624f09445 to your computer and use it in GitHub Desktop.
sed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rewrite part of the file from variable | |
sed -i "/^write_files:/{ | |
s/write_files://g | |
r $NET_RULES | |
}" $CLOUD_CONFIG_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment