root@ahnf1001:/etc/syslog-ng# sudo /etc/syslog-ng/syslogemail.sh + blah=ia + read line this is a test again hahahaha ++ echo this is a test again hahahaha ++ cut '-d ' -f4 + var=test + printf 'blah: %s, var: %s\n' ia test + echo this is a test again hahahaha + /usr/bin/mailx -s 'log notification test' test@blah.com + printf 'line after mailx: %s, var: %s\n' 'this is a test again hahahaha' test + read line