summaryrefslogtreecommitdiffstats
path: root/clean.sh
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-08-07 16:21:22 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-08-07 16:21:22 -0400
commit4b94f9ec0bc9aeeffaa770c916c91ebcafa9e7ca (patch)
tree958446e8398c3e280b5963063d384d1a77736997 /clean.sh
parenteda83714a56830c30a256f828e6ba3cb6736bdb0 (diff)
downloadpfsense-4b94f9ec0bc9aeeffaa770c916c91ebcafa9e7ca.zip
pfsense-4b94f9ec0bc9aeeffaa770c916c91ebcafa9e7ca.tar.gz
Partially converted
Requires revised save logic using an array rather than multiple POST fields Also like to look at possibility of changing allowDuplication() method to add buttons horizontally.
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/clean.sh b/clean.sh
index 540a94e..3f14115 100755
--- a/clean.sh
+++ b/clean.sh
@@ -1,15 +1,15 @@
#!/bin/sh
-sed -i -e 's/> </></g' $1 ;
-sed -i -e 's/ / /g' $1 ;
-sed -i -e 's/\s+$//g' $1 ;
-sed -i -e 's/ width="17" height="17" border="0"//g' $1 ;
-sed -i -e 's/<td [^>]+listhdrr[^>]+>/<th>/g' $1 ;
-sed -i -e 's/<body[^>]*>//g' $1 ;
-sed -i -e 's/<\(table\|td\|span\|div\)[^>]\+>/<\1>/g' $1 ;
-sed -i -e 's/<?php include("fbegin.inc"); ?>//g' $1 ;
-sed -i -e 's/<?php include("fend.inc"); ?>/<?php include("foot.inc"); ?>/g' $1 ;
-sed -i -e 's/<?php echo /<?=/g' $1 ;
-sed -i -e 's/;\s*?>/?>/g' $1 ;
-sed -i -e 's/<?\s*=\s*/<?=/g' $1 ;
-sed -i -e 's/ <> / != /g' $1 ; \ No newline at end of file
+sed -i '' 's/> </></g' $1 ;
+sed -i '' 's/ / /g' $1 ;
+sed -i '' 's/\s+$//g' $1 ;
+sed -i '' 's/ width="17" height="17" border="0"//g' $1 ;
+sed -i '' 's/<td [^>]+listhdrr[^>]+>/<th>/g' $1 ;
+sed -i '' 's/<body[^>]*>//g' $1 ;
+sed -i '' 's/<\(table\|td\|span\|div\)[^>]\+>/<\1>/g' $1 ;
+sed -i '' 's/<?php include("fbegin.inc"); ?>//g' $1 ;
+sed -i '' 's/<?php include("fend.inc"); ?>/<?php include("foot.inc"); ?>/g' $1 ;
+sed -i '' 's/<?php echo /<?=/g' $1 ;
+sed -i '' 's/;\s*?>/?>/g' $1 ;
+sed -i '' 's/<?\s*=\s*/<?=/g' $1 ;
+sed -i '' 's/ <> / != /g' $1 ;
OpenPOWER on IntegriCloud