diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/email2irc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 2e6c8a8e..294fcbfa 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -49,8 +49,8 @@ while read line ; do if [ "${line:0:5}" = "-----" ] ; then read line read line - MY_LINE=$(read line) - MY_LINE=$(echo $MY_LINE | cut -d " " -f1-2) + read line + MY_LINE=$(echo $line | cut -d " " -f1-2) else MY_LINE=$(echo $line | tr -d \< | tr -d \>) fi |