Skip to content

Instantly share code, notes, and snippets.

@brettp
Created February 21, 2014 16:23
Show Gist options
  • Save brettp/9137352 to your computer and use it in GitHub Desktop.
Save brettp/9137352 to your computer and use it in GitHub Desktop.
#!/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