aboutsummaryrefslogtreecommitdiff
path: root/mathjax-librejs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mathjax-librejs.sh')
-rwxr-xr-xmathjax-librejs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/mathjax-librejs.sh b/mathjax-librejs.sh
new file mode 100755
index 0000000..592a15d
--- /dev/null
+++ b/mathjax-librejs.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+sed -i 's/^\s*\*\s*Copyright/ * @licstart The following is the entire license notice for the \n * JavaScript code in this page.\n *\n&/' $1
+
+sed -i 's/^\s*\*\// *\n * @licend The above is the entire license notice\n * for the JavaScript code in this page.\n&/' $1