[nycbug-talk] Useful Use of Cat

Matthew Story matthewstory at gmail.com
Fri Mar 23 16:59:10 EDT 2012


Pretty excited just now, as I had a legitimate reason for a useful use of
cat ... in the wild ... not everyday that such a thing happens, figured I'd
share ...

{
    echo "SET FOREIGN_KEY_CHECKS = 0;"
    safe cat "$dump"
    echo "SET FOREIGN_KEY_CHECKS = 1;"
} | mysql ...

Looking forward to Jan's talk in May ...

-- 
regards,
matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20120323/5b1626e8/attachment.html>


More information about the talk mailing list