summaryrefslogtreecommitdiff
path: root/http/bin/cut_longlog_meta
diff options
context:
space:
mode:
Diffstat (limited to 'http/bin/cut_longlog_meta')
-rwxr-xr-xhttp/bin/cut_longlog_meta34
1 files changed, 0 insertions, 34 deletions
diff --git a/http/bin/cut_longlog_meta b/http/bin/cut_longlog_meta
deleted file mode 100755
index 914f455..0000000
--- a/http/bin/cut_longlog_meta
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh -e
-
-meta=""
-read_published_on=0
-while read line
-do
- meta="${meta}
-${line}"
- if [ "$(echo "$line" | cut -c1-14)" = "Published on: " ]
- then
- read_published_on=1
- break
- fi
-done
-
-if [ "$read_published_on" -eq 0 ]
-then
- echo "$meta"
- exit 0
-fi
-
-read line
-if [ "$(echo "$line" | cut -c1-14)" = "Updated: " ]
-then
- meta="${meta}
-${line}"
-else
- echo "$line"
-fi
-
-while read line
-do
- echo "$line"
-done