Title: [Bash] run asagi merge Author: waterapple Pastebin link: http://pastebin.com/w7VnmQrW First Edit: Saturday 24th of January 2015 02:22:20 AM CDT Last Edit: Last edit on: Saturday 24th of January 2015 10:29:06 PM CDT #!/bin/bash end = false; while [$end==false]; do         out = $(php migrate.php --old-database heinessenmlp --board mlp --phase 1);         echo $out >> migration.log;         if [$(echo $out | grep '[database error]')]; then                         end = true;             fi         sleep 10; done