commit 0b99ac0d7ee4ee6d4cc66c58fb663aa00eda9d38
parent 6bad5d06b7847bffa4f59a84e4655badee669209
Author: William Casarin <jb55@jb55.com>
Date: Fri, 13 Nov 2020 12:17:06 -0800
fuzz/inbox: initial pretty script
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/fuzz-notmuch-inbox b/bin/fuzz-notmuch-inbox
@@ -6,4 +6,4 @@ res=$(notmuch-inbox | $FUZZER +m)
thread=$(awk '{print $1}' <<<"$res")
-echo notmuch show --format=mbox $thread \| less
+echo notmuch show $thread \| notmuch-show-pretty \| less
diff --git a/bin/notmuch-show-pretty b/bin/notmuch-show-pretty
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+exec sed 's,,-----------------------------\n,g'