You can use the pager setting in the mysql client to specify, that's right a pager.
I normally have mine set to less -FX. You can also do more interesting things, like set it to grep or grep -v or sed or anything else like that.
One cool use is to set it to md5sum - . That way you can compare two result sets to see if they are identical. I formerly would put result sets into temporary tables then run checksum table on the temporary table, but this way requires several fewer steps than that.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment