Skip to content

Instantly share code, notes, and snippets.

@jonathanvx
Last active August 29, 2015 14:22
Show Gist options
  • Save jonathanvx/e6c83a5019a7fcf50f02 to your computer and use it in GitHub Desktop.
Save jonathanvx/e6c83a5019a7fcf50f02 to your computer and use it in GitHub Desktop.
echo $sql | mysql 2>&1 | awk '{print $0 ">", sql}' sql="$sql" >> $errorlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment