summaryrefslogtreecommitdiff
path: root/unwrap-php.sh
diff options
context:
space:
mode:
authorNiklas Olmes <niklas@olmes.de>2026-04-24 19:30:00 +0200
committerNiklas Olmes <niklas@olmes.de>2026-04-24 19:30:00 +0200
commitcdea8caa5617f0cb77bcbc9803759abd2df50644 (patch)
tree2f7f1bd3af3b2396baf5403ad1a7ad00bcb7fae9 /unwrap-php.sh
stipcrmHEADmain
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"