summaryrefslogtreecommitdiff
path: root/unwrap-php.sh
diff options
context:
space:
mode:
Diffstat (limited to 'unwrap-php.sh')
-rwxr-xr-xunwrap-php.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/unwrap-php.sh b/unwrap-php.sh
new file mode 100755
index 0000000..f587828
--- /dev/null
+++ b/unwrap-php.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sed=`which gsed 2>/dev/null || which sed`
+
+$sed -i -e 's/&lt;?/<?/g' -e 's/?&gt;/?>/g' "$1"