mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 34066eec642ba8a5b88fd3a722ff42d78529e3f4
parent 98924a7fa1cae390f30d6daf4fcfd05cbfd80ffe
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Wed,  6 Sep 2017 17:54:30 +0200

contrib: add mrecode

Diffstat:
contrib/mrecode | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/contrib/mrecode b/contrib/mrecode @@ -0,0 +1,8 @@ +#!/bin/sh +# mrecode - recode stdin respecting PIPE_CHARSET into UTF-8 + +if [ -n "$PIPE_CHARSET" ]; then + exec iconv -f "$PIPE_CHARSET" -t UTF-8 +else + exec cat +fi