Created
August 9, 2016 07:14
-
-
Save junquera/bcfbf0734070abfc4d56bc9f4a81859e to your computer and use it in GitHub Desktop.
Substitute tag with file
This file contains hidden or 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
| # Example perl -pe 's/{css}/`cat stylesheet.css`/ge' -i index.html | |
| perl -pe 's/{tag}/`cat file.from`/ge' -i file.to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment