Created
February 21, 2014 16:23
-
-
Save brettp/9137352 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOG="/tmp/mail.log" | |
echo $argv >> ${LOG}; | |
while read -r -a array; do | |
echo ${array[*]} >> ${LOG} | |
done | |
exit 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment