diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-30 10:52:03 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-30 10:52:03 +0100 |
commit | 54311e16fec9b76becac16509555f7693bbdb1ab (patch) | |
tree | 8c55399169b2cd4d4592d5abf1adb943feef5069 /bin | |
parent | b30110201562825fbc5875a24f9bacae761370a8 (diff) | |
download | jenkins.debian.net-54311e16fec9b76becac16509555f7693bbdb1ab.tar.xz |
email2irc: really truncate body
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/email2irc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 472616c4..740209ea 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -49,7 +49,8 @@ while read line ; do if [ "${line:0:5}" = "-----" ] ; then read line read line - MY_LINE=$(read line | cut -d " " -f1-2) + MY_LINE=$(read line) + MY_LINE=$(echo $MY_LINE | cut -d " " -f1-2) else MY_LINE=$(echo $line | tr -d \< | tr -d \>) fi |