diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-25 17:07:14 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-25 17:07:14 +0200 |
commit | 403f228373e0d5f3dfb643d2bce4c7a2fe18eb25 (patch) | |
tree | 19ded6eb07ff536c37f6c388bf443b19fbb7a8d0 /contrib | |
parent | 236700ecb93bff487499517433b02a33e25de40d (diff) | |
download | mblaze-403f228373e0d5f3dfb643d2bce4c7a2fe18eb25.tar.gz mblaze-403f228373e0d5f3dfb643d2bce4c7a2fe18eb25.tar.xz mblaze-403f228373e0d5f3dfb643d2bce4c7a2fe18eb25.zip |
add contrib/menter
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/menter | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/menter b/contrib/menter new file mode 100755 index 0000000..f00a92e --- /dev/null +++ b/contrib/menter @@ -0,0 +1,14 @@ +#!/bin/sh -e +# menter [MSG] - run subshell in temporary directory with MSG extracted + +[ "$#" -eq 0 ] && set -- : + +dir=$(mktemp -d -t menter.XXXXXX) +cd "$dir" +mshow -t "$1" +mshow -x "$1" 2>/dev/null +ls -l +ln -s "$(mseq "$1")" msg +"${SHELL:-/bin/sh}" || true +echo rm -r "$dir" +rm -r "$dir" |