about summary refs log tree commit diff
path: root/contrib/mpeek
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-17 16:13:33 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-17 16:13:33 +0200
commit2cb93984a1a9cd50b3b27e9cfa7e4c31e8c319d7 (patch)
tree18273b5f0539074dc98eb0c2db038cd92ec1c680 /contrib/mpeek
parent7604589738034f0ad9eae9bfc804433e3edd5dbc (diff)
downloadmblaze-2cb93984a1a9cd50b3b27e9cfa7e4c31e8c319d7.tar.gz
mblaze-2cb93984a1a9cd50b3b27e9cfa7e4c31e8c319d7.tar.xz
mblaze-2cb93984a1a9cd50b3b27e9cfa7e4c31e8c319d7.zip
add contrib/mpeek
Diffstat (limited to 'contrib/mpeek')
-rwxr-xr-xcontrib/mpeek11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/mpeek b/contrib/mpeek
new file mode 100755
index 0000000..bf568dc
--- /dev/null
+++ b/contrib/mpeek
@@ -0,0 +1,11 @@
+#!/bin/sh
+# mpeek - wrapper around mscan with a different seq
+
+export MAILSEQ=$HOME/.mblaze/peek.seq
+
+if [ -t 0 ]; then
+	mseq "$@"
+else
+	mseq -S | mscan "$@"
+fi
+