- remove favicons meta tags
- copy the two brand images we use in the examples
sh.sed
has the same limitations as the sed
tool, hence this solution. Not perfect but does the job.
https://github.com/shelljs/shelljs#sedoptions-search_regex-replacement-file--file-
Also, like unix sed, ShellJS sed runs replacements on each line from the input file (split by '\n') separately, so search_regexes that span more than one line (or include '\n') will not match anything and nothing will be replaced.