summaryrefslogtreecommitdiff
path: root/common_codez
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2011-11-10 15:47:51 +0000
committerJoe <joe@joelightning.com>2011-11-10 15:47:51 +0000
commit9c641cde1a98ab9593e180204440162664b5242c (patch)
tree58606739840911ed78e7938d6085a298dd2fe7f7 /common_codez
parent089dac51e9f96de38078ecdb4d24f329765cb40d (diff)
Added `common_codez' file.
Diffstat (limited to 'common_codez')
-rw-r--r--common_codez6
1 files changed, 6 insertions, 0 deletions
diff --git a/common_codez b/common_codez
new file mode 100644
index 0000000..3ac359d
--- /dev/null
+++ b/common_codez
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+function replace_wierd_html_chars
+{
+ sed 's/&mdash;/—/g ; s/&lt;/</g ; s/&gt;/>/g ; s/&amp;/&/g ; s/&quot;/"/g'
+}