]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
email-lda: introduce a function for printing the separator
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 6 Feb 2014 13:06:29 +0000 (15:06 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 7 Feb 2014 08:56:26 +0000 (10:56 +0200)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
email/aiaiai-email-lda

index e91f1c58e1119d778b1a3e51c3f77faef2f9f78b..5c359deab930edd03433bc93f244357b5ebbe885 100755 (executable)
@@ -327,13 +327,18 @@ EOF
        fi
 }
 
-# Process one e-mail stored in the $mbox temporary file
-process_mbox()
+separator()
 {
        if [ -n "$verbose" ]; then
                printf "\n%s"   "----------------------------------------------------" >&2
                printf "%s\n\n" "----------------------------------------------------" >&2
        fi
+}
+
+# Process one e-mail stored in the $mbox temporary file
+process_mbox()
+{
+       separator
 
        # Make sure important headers are there
        grep -i -q -- "^Message-Id:[[:blank:]]" "$mbox" ||