Created
August 24, 2011 15:48
-
-
Save benlangfeld/1168354 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{16:42}[ruby-1.9.2]~/Desktop ben% echo "This is text file one" > file1.txt | |
{16:43}[ruby-1.9.2]~/Desktop ben% echo "This is text file two" > file2.txt | |
{16:43}[ruby-1.9.2]~/Desktop ben% diff file1.txt file2.txt > something.diff | |
{16:43}[ruby-1.9.2]~/Desktop ben% mate something.diff | |
...or... | |
{16:43}[ruby-1.9.2]~/Desktop ben% diff file1.txt file2.txt | mate | |
> directs output to disk, | directs it to the input of the following command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment